Trait AsRawSocket
pub trait AsRawSocket {
// Required method
fn as_raw_socket(&self) -> RawSocket;
}
Available on
docsrs and Unix and (crate features fs or net) only.Required Methods
fn as_raw_socket(&self) -> RawSocket
Dyn Compatibility
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors
impl AsRawSocket for TcpListener
Available on Windows and crate feature
net only.impl AsRawSocket for TcpSocket
Available on Windows and crate feature
net only.impl AsRawSocket for TcpStream
Available on Windows and crate feature
net only.impl AsRawSocket for UdpSocket
Available on Windows only.
MIT License
Copyright © Tokio Contributors
https://docs.rs/tokio/1.53.1/tokio/doc/os/windows/io/trait.AsRawSocket.html