[][src]Struct futures_zmq::Router

pub struct Router { /* fields omitted */ }

The ROUTER SocketType wrapper type

Router implements StreamSocket and SinkSocket, and has an associated controlled variant.

Trait Implementations

impl From<Socket> for Router[src]

impl From<(SockId, LocalSession)> for Router[src]

impl Debug for Router[src]

impl IntoInnerSocket for Router[src]

type Socket = Socket

impl UnPair for Router[src]

impl StreamSocket for Router[src]

fn recv(self) -> <Self::Socket as InnerSocket<Self>>::Response[src]

Receive a single multipart message from the socket. Read more

fn stream(self) -> <Self::Socket as InnerSocket<Self>>::Stream[src]

Receive a stream of multipart messages from the socket. Read more

impl SinkSocket for Router[src]

fn send(
    self,
    multipart: Multipart
) -> <Self::Socket as InnerSocket<Self>>::Request
[src]

Send a single multipart message to the socket. Read more

fn sink(self, buffer_size: usize) -> <Self::Socket as InnerSocket<Self>>::Sink[src]

Send a stream of multipart messages to the socket. Read more

Auto Trait Implementations

impl Send for Router

impl !Sync for Router

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SinkStreamSocket for T where
    T: StreamSocket + SinkSocket
[src]

impl<T> HasBuilder for T where
    T: IntoInnerSocket
[src]

fn builder(ctx: Arc<Context>) -> SocketBuilder<'static, Self>[src]