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

Trait FromRawSocket

Source
pub trait FromRawSocket {
    // Required method
    unsafe fn from_raw_socket(sock: RawSocket) -> Self;
}
Expand description

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl FromRawSocket for TcpSocket

Available on crate feature net and Windows only.