[][src]Struct futures_zmq::Sub

pub struct Sub { /* fields omitted */ }

The SUB SocketType wrapper type

Sub implements StreamSocket, and has an associated controlled variant.

Trait Implementations

impl<'a> Build<Sub> for SubConfig<'a>[src]

impl From<Socket> for Sub[src]

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

impl Debug for Sub[src]

impl IntoInnerSocket for Sub[src]

type Socket = Socket

impl UnPair for Sub[src]

impl Sub for Sub[src]

impl StreamSocket for Sub[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

Auto Trait Implementations

impl Send for Sub

impl !Sync for Sub

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> HasBuilder for T where
    T: IntoInnerSocket
[src]

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