Home
last modified time | relevance | path

Searched refs:BorrowedSocket (Results 1 – 11 of 11) sorted by relevance

/third_party/rust/crates/io-lifetimes/src/
Dimpls_tokio.rs8 use crate::{AsHandle, AsSocket, BorrowedHandle, BorrowedSocket, FromHandle, OwnedHandle};
75 fn as_socket(&self) -> BorrowedSocket<'_> { in as_socket()
76 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
91 fn as_socket(&self) -> BorrowedSocket<'_> { in as_socket()
92 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
107 fn as_socket(&self) -> BorrowedSocket<'_> { in as_socket()
108 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
Dtraits.rs8 use crate::{BorrowedHandle, BorrowedSocket};
61 fn as_socket(&self) -> BorrowedSocket<'_>; in as_socket()
278 fn as_socket(&self) -> BorrowedSocket<'_> { in as_socket()
287 fn as_socket(&self) -> BorrowedSocket<'_> { in as_socket()
Dimpls_std.rs10 use crate::{BorrowedHandle, BorrowedSocket, HandleOrInvalid, OwnedHandle, OwnedSocket};
37 impl AsSocket for BorrowedSocket<'_> { implementation
39 fn as_socket(&self) -> BorrowedSocket<'_> { in as_socket()
40 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
63 fn as_socket(&self) -> BorrowedSocket<'_> { in as_socket()
64 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
223 fn as_socket(&self) -> BorrowedSocket<'_> { in as_socket()
224 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
303 fn as_socket(&self) -> BorrowedSocket<'_> { in as_socket()
304 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
[all …]
Dimpls_mio.rs8 use crate::{AsSocket, BorrowedSocket, FromSocket, IntoSocket, OwnedSocket};
27 fn as_socket(&self) -> BorrowedSocket<'_> { in as_socket()
28 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
107 fn as_socket(&self) -> BorrowedSocket<'_> { in as_socket()
108 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
187 fn as_socket(&self) -> BorrowedSocket<'_> { in as_socket()
188 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
Dimpls_socket2.rs8 use crate::{AsSocket, BorrowedSocket, FromSocket, IntoSocket, OwnedSocket};
27 fn as_socket(&self) -> BorrowedSocket<'_> { in as_socket()
28 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
Dimpls_async_std.rs9 AsHandle, AsSocket, BorrowedHandle, BorrowedSocket, FromHandle, FromSocket, IntoHandle,
114 fn as_socket(&self) -> BorrowedSocket<'_> { in as_socket()
115 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
194 fn as_socket(&self) -> BorrowedSocket<'_> { in as_socket()
195 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
274 fn as_socket(&self) -> BorrowedSocket<'_> { in as_socket()
275 unsafe { BorrowedSocket::borrow_raw(self.as_raw_socket()) } in as_socket()
Dtypes.rs102 pub struct BorrowedSocket<'socket> { struct
300 impl BorrowedSocket<'_> { implementation
476 impl BorrowedSocket<'_> { impl
578 impl AsRawSocket for BorrowedSocket<'_> { implementation
825 impl fmt::Debug for BorrowedSocket<'_> { implementation
Dlib.rs63 BorrowedHandle, BorrowedSocket, HandleOrInvalid, InvalidHandleError, NullHandleError,
76 AsHandle, AsSocket, BorrowedHandle, BorrowedSocket, HandleOrInvalid, InvalidHandleError,
Dportability.rs11 use crate::{AsHandle, AsSocket, BorrowedHandle, BorrowedSocket, OwnedHandle, OwnedSocket};
39 pub type BorrowedSocketlike<'socketlike> = BorrowedSocket<'socketlike>;
/third_party/rust/crates/io-lifetimes/tests/
Dniche-optimizations.rs9 use io_lifetimes::{BorrowedSocket, OwnedSocket};
46 size_of::<Option<BorrowedSocket<'static>>>(), in test_niche_optimizations_socket()
/third_party/rust/crates/rustix/src/backend/libc/
Dio_lifetimes.rs6 pub use io_lifetimes::{BorrowedSocket as BorrowedFd, OwnedSocket as OwnedFd};