pub trait FromRawSocket {
// Required method
unsafe fn from_raw_socket(sock: RawSocket) -> Self;
}
Expand description
Required Methods§
sourceunsafe fn from_raw_socket(sock: RawSocket) -> Self
unsafe fn from_raw_socket(sock: RawSocket) -> Self
Object Safety§
This trait is not object safe.
Implementors§
impl FromRawSocket for TcpSocket
Available on crate feature
net
and Windows only.