IntoRawSocketlike

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§

Source§

impl<T: IntoRawFd> IntoRawSocketlike for T

Available on Unix or WASI or HermitCore only.