Trait io_lifetimes::AsSocket[][src]

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

A trait to borrow the socket from an underlying object.

Required methods

Borrows the socket.

Implementations on Foreign Types

Implementors