io_lifetimes::raw

Trait IntoRawSocketlike

source
pub trait IntoRawSocketlike: IntoRawFd {
    // Required method
    fn into_raw_socketlike(self) -> RawSocketlike;
}
Expand description

This is a portability abstraction over Unix-like IntoRawFd and Windows’ IntoRawSocket.

Required Methods§

source

fn into_raw_socketlike(self) -> RawSocketlike

Returns the raw value.

Implementors§