pub trait IntoInnerSocket: Sized + From<Self::Socket> {
    type Socket: InnerSocket<Self>;

    fn socket(self) -> Self::Socket;
    fn kind() -> SocketType;
}
Expand description

The IntoInnerSocket trait is implemented for all wrapper types. This makes implementing other traits a matter of saying a given type implements them.

Required Associated Types

Required Methods

Any type implementing IntoInnerSocket must have a way of returning an InnerSocket.

Implementors