Trait async_zmq_types::IntoInnerSocket
source · pub trait IntoInnerSocket: Sizedwhere
Self: 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
type Socket: InnerSocket<Self>
Required Methods
sourcefn socket(self) -> Self::Socket
fn socket(self) -> Self::Socket
Any type implementing IntoInnerSocket
must have a way of returning an InnerSocket.