Searched refs:BorrowedSocket (Results 1 – 11 of 11) sorted by relevance
/third_party/rust/crates/io-lifetimes/src/ |
D | impls_tokio.rs | 8 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()
|
D | traits.rs | 8 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()
|
D | impls_std.rs | 10 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 …]
|
D | impls_mio.rs | 8 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()
|
D | impls_socket2.rs | 8 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()
|
D | impls_async_std.rs | 9 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()
|
D | types.rs | 102 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
|
D | lib.rs | 63 BorrowedHandle, BorrowedSocket, HandleOrInvalid, InvalidHandleError, NullHandleError, 76 AsHandle, AsSocket, BorrowedHandle, BorrowedSocket, HandleOrInvalid, InvalidHandleError,
|
D | portability.rs | 11 use crate::{AsHandle, AsSocket, BorrowedHandle, BorrowedSocket, OwnedHandle, OwnedSocket}; 39 pub type BorrowedSocketlike<'socketlike> = BorrowedSocket<'socketlike>;
|
/third_party/rust/crates/io-lifetimes/tests/ |
D | niche-optimizations.rs | 9 use io_lifetimes::{BorrowedSocket, OwnedSocket}; 46 size_of::<Option<BorrowedSocket<'static>>>(), in test_niche_optimizations_socket()
|
/third_party/rust/crates/rustix/src/backend/libc/ |
D | io_lifetimes.rs | 6 pub use io_lifetimes::{BorrowedSocket as BorrowedFd, OwnedSocket as OwnedFd};
|