pub trait IntoSocket {
// Required method
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§
Sourcefn into_socket(self) -> OwnedSocket
👎Deprecated since 1.0.0: IntoSocket
is replaced by From<...> for OwnedSocket
or Into<OwnedSocket>
fn into_socket(self) -> OwnedSocket
IntoSocket
is replaced by From<...> for OwnedSocket
or Into<OwnedSocket>
Consumes this object, returning the underlying socket.