Trait io_lifetimes::raw::FromRawSocketlike
source · pub trait FromRawSocketlike: FromRawSocket {
// Required method
unsafe fn from_raw_socketlike(raw: RawSocketlike) -> Self;
}
Expand description
This is a portability abstraction over Unix-like FromRawFd
and Windows’
FromRawSocket
.
Required Methods§
sourceunsafe fn from_raw_socketlike(raw: RawSocketlike) -> Self
unsafe fn from_raw_socketlike(raw: RawSocketlike) -> Self
Constructs Self
from the raw value.
Object Safety§
This trait is not object safe.