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
fn as_socket(self) -> BorrowedSocket<'socket>
[src]
fn as_socket(self) -> BorrowedSocket<'socket>
[src]Borrows the socket.