Trait io_lifetimes::IntoSocket [−][src]
pub trait IntoSocket { fn into_socket(self) -> OwnedSocket; }
Expand description
A trait to express the ability to consume an object and acquire ownership of its socket.
Required methods
fn into_socket(self) -> OwnedSocket
[src]
fn into_socket(self) -> OwnedSocket
[src]Consumes this object, returning the underlying socket.