pub struct TokioSocket(_);
Expand description

An I/O object representing a Netlink socket.

Trait Implementations

Extracts the raw file descriptor. Read more

Mutable access to underyling Socket

Access underyling Socket

Wrapper for Socket::new

Polling wrapper for Socket::send

Polling wrapper for Socket::send_to

Polling wrapper for Socket::recv Read more

Polling wrapper for Socket::recv_from Read more

Polling wrapper for Socket::recv_from_full Read more

Constructs a new instance of Self from the given raw file descriptor. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

async fn send(&mut self, buf: &[u8]) -> io::Result<usize>

async fn send(&mut self, buf: &[u8]) -> io::Result<usize>

async fn recv<B>(&mut self, buf: &mut [u8]) -> io::Result<()>

async fn recv<B>(&mut self, buf: &mut [u8]) -> io::Result<SocketAddr>

async fn recrecv_from_full(&mut self) -> io::Result<(Vec<u8>, SocketAddr)>

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.