Searched refs:AsSocket (Results 1 - 12 of 12) sorted by relevance
/third_party/rust/crates/rustix/src/backend/libc/ |
H A D | io_lifetimes.rs | 12 pub use io_lifetimes::AsSocket; 72 impl<T: AsSocket> AsFd for T {
|
/third_party/rust/crates/io-lifetimes/src/ |
H A D | impls_std.rs | 6 use crate::{AsHandle, AsSocket, FromHandle, FromSocket, IntoHandle, IntoSocket}; 37 impl AsSocket for BorrowedSocket<'_> { 61 impl AsSocket for OwnedSocket { 221 impl AsSocket for std::net::TcpStream { 301 impl AsSocket for std::net::TcpListener { 381 impl AsSocket for std::net::UdpSocket {
|
H A D | traits.rs | 16 /// `AsSocket` set of traits. 59 pub trait AsSocket { traits 276 impl<T: AsSocket> AsSocket for &T { impls 285 impl<T: AsSocket> AsSocket for &mut T { in as_socket() impls
|
H A D | lib.rs | 49 pub use traits::{AsHandle, AsSocket}; 76 AsHandle, AsSocket, BorrowedHandle, BorrowedSocket, HandleOrInvalid, InvalidHandleError,
|
H A D | portability.rs | 11 use crate::{AsHandle, AsSocket, BorrowedHandle, BorrowedSocket, OwnedHandle, OwnedSocket}; 179 /// `AsSocket`. It also provides the `as_socketlike_view` convenience in as_filelike() 221 /// [`AsSocket`]. It also provides the `as_socketlike_view` convenience in as_socketlike() 224 pub trait AsSocketlike: AsSocket { in as_socketlike() 245 impl<T: AsSocket> AsSocketlike for T {
|
H A D | impls_socket2.rs | 8 use crate::{AsSocket, BorrowedSocket, FromSocket, IntoSocket, OwnedSocket}; 25 impl AsSocket for socket2::Socket {
|
H A D | impls_tokio.rs | 8 use crate::{AsHandle, AsSocket, BorrowedHandle, BorrowedSocket, FromHandle, OwnedHandle}; 73 impl AsSocket for tokio::net::TcpStream { 89 impl AsSocket for tokio::net::TcpListener { 105 impl AsSocket for tokio::net::UdpSocket {
|
H A D | impls_mio.rs | 8 use crate::{AsSocket, BorrowedSocket, FromSocket, IntoSocket, OwnedSocket}; 25 impl AsSocket for mio::net::TcpStream { 105 impl AsSocket for mio::net::TcpListener { 185 impl AsSocket for mio::net::UdpSocket {
|
H A D | impls_async_std.rs | 9 AsHandle, AsSocket, BorrowedHandle, BorrowedSocket, FromHandle, FromSocket, IntoHandle, 112 impl AsSocket for async_std::net::TcpStream { 192 impl AsSocket for async_std::net::TcpListener { 272 impl AsSocket for async_std::net::UdpSocket {
|
H A D | types.rs | 275 crate::AsSocket::as_socket(self).try_clone_to_owned() in try_clone()
|
/third_party/rust/crates/rustix/src/backend/libc/io/ |
H A D | poll_fd.rs | 129 impl<'fd> io_lifetimes::AsSocket for PollFd<'fd> {
|
/third_party/rust/crates/rustix/src/ |
H A D | lib.rs | 151 pub use backend::fd::AsSocket;
|
Completed in 11 milliseconds