[][src]Struct tokio_zmq::Xsub

pub struct Xsub { /* fields omitted */ }

The XSUB SocketType wrapper type

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

Trait Implementations

impl From<Socket> for Xsub[src]

impl From<(Socket, PollEvented<ZmqFile>)> for Xsub[src]

impl Debug for Xsub[src]

impl IntoInnerSocket for Xsub[src]

type Socket = Socket

impl UnPair for Xsub[src]

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

impl !Sync for Xsub

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> Erased for T

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]