Struct tokio_zmq::socket::types::Xpub

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

The XPUB SocketType wrapper type

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

Trait Implementations§

Any type implementing AsSocket must have a way of returning a reference to a Socket.
Converts to this type from the input type.
Send a single multipart message to the socket. Read more
Send a stream of multipart messages to the socket. Read more
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.

Retrieve a structure that implements both Sync and Stream. Read more
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.