Struct tokio_zmq::socket::types::Sub

source ·
pub struct Sub { /* private fields */ }
Expand description

The SUB SocketType wrapper type

Sub implements StreamSocket, and has an associated controlled variant.

Trait Implementations§

Converts to this type from the input type.
Converts to this type from the input type.
Any type implementing IntoInnerSocket must have a way of returning an InnerSocket.
Receive a single multipart message from the socket. Read more
Receive a stream of multipart messages from the socket. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.