Trait std::os::windows::io::AsRawSocket 1.0.0[−][src]
pub trait AsRawSocket { fn as_raw_socket(&self) -> RawSocket; }
This is supported on Windows only.
Extract raw sockets.
Required Methods
fn as_raw_socket(&self) -> RawSocket
This is supported on Windows only.
Extracts the underlying raw socket from this object.
Implementors
impl AsRawSocket for TcpStream
impl AsRawSocket for TcpListener
impl AsRawSocket for UdpSocket