io_lifetimes::raw

Trait AsRawSocketlike

Source
pub trait AsRawSocketlike: AsRawSocket {
    // Required method
    fn as_raw_socketlike(&self) -> RawSocketlike;
}
Expand description

This is a portability abstraction over Unix-like AsRawFd and Windows’ AsRawSocket.

Required Methods§

Source

fn as_raw_socketlike(&self) -> RawSocketlike

Returns the raw value.

Implementors§