Trait io_lifetimes::AsSocket[][src]

pub trait AsSocket {
    fn as_socket(&self) -> BorrowedSocket<'_>;
}
Expand description

A trait to borrow the socket from an underlying object.

Required methods

Borrows the socket.

Implementations on Foreign Types

Implementors