[][src]Trait async_zmq_types::IntoInnerSocket

pub trait IntoInnerSocket: Sized where
    Self: From<Self::Socket>, 
{ type Socket: InnerSocket<Self>; fn socket(self) -> Self::Socket;
fn kind() -> SocketType; }

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

Associated Types

type Socket: InnerSocket<Self>

Loading content...

Required methods

fn socket(self) -> Self::Socket

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

fn kind() -> SocketType

Loading content...

Implementors

Loading content...