Trait tokio_zmq::socket::AsControlledSocket [] [src]

pub trait AsControlledSocket {
    fn socket(&self) -> &ControlledSocket;
}

Analogous to the AsSocket trait, but for Controlled sockets.

Required Methods

Any implementing type must have a method of getting a reference to the inner ControlledSocket.

Implementors