tokio::doc::os::windows::io

Trait AsRawSocket

Source
pub trait AsRawSocket {
    // Required method
    fn as_raw_socket(&self) -> RawSocket;
}
Expand description

Required Methods§

Implementors§

Source§

impl AsRawSocket for TcpListener

Available on crate feature net and Windows only.
Source§

impl AsRawSocket for TcpSocket

Available on crate feature net and Windows only.
Source§

impl AsRawSocket for TcpStream

Available on crate feature net and Windows only.
Source§

impl AsRawSocket for UdpSocket

Available on Windows only.