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

Consumes this object, returning the underlying socket.

Implementations on Foreign Types

Implementors