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
fn into_socket(self) -> OwnedSocket
Consumes this object, returning the underlying socket.