pub trait IntoSocket {
    fn into_socket(self) -> OwnedSocket;
}
👎Deprecated since 1.0.0: IntoSocket is replaced by From<...> for OwnedSocket or Into<OwnedSocket>
Expand description

A trait to express the ability to consume an object and acquire ownership of its socket.

Required Methods§

👎Deprecated since 1.0.0: IntoSocket is replaced by From<...> for OwnedSocket or Into<OwnedSocket>

Consumes this object, returning the underlying socket.

Implementors§