Trait io_lifetimes::raw::AsRawSocketlike
source · pub trait AsRawSocketlike: AsRawFd {
fn as_raw_socketlike(&self) -> RawSocketlike;
}
Expand description
This is a portability abstraction over Unix-like AsRawFd
and Windows’
AsRawSocket
.
Required Methods§
sourcefn as_raw_socketlike(&self) -> RawSocketlike
fn as_raw_socketlike(&self) -> RawSocketlike
Returns the raw value.