Struct tokio_zmq::socket::types::Push [−][src]
pub struct Push { /* fields omitted */ }
The PUSH SocketType
wrapper type
Push implements SinkSocket
.
Trait Implementations
impl Clone for Push
[src]
impl Clone for Push
fn clone(&self) -> Push
[src]
fn clone(&self) -> Push
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl AsSocket for Push
[src]
impl AsSocket for Push
fn socket(&self) -> &Socket
[src]
fn socket(&self) -> &Socket
Any type implementing AsSocket
must have a way of returning a reference to a Socket.
fn into_socket(self) -> Socket
[src]
fn into_socket(self) -> Socket
Any type implementing AsSocket
must have a way of consuming itself and returning a socket.
impl SinkSocket for Push
[src]
impl SinkSocket for Push
fn send(&self, multipart: Multipart) -> MultipartRequest
[src]
fn send(&self, multipart: Multipart) -> MultipartRequest
Send a single multipart message to the socket. Read more
fn sink<E>(&self) -> MultipartSink<E> where
E: From<Error>,
[src]
fn sink<E>(&self) -> MultipartSink<E> where
E: From<Error>,
Send a stream of multipart messages to the socket. Read more
impl<'a> TryFrom<SockConfig<'a>> for Push
[src]
impl<'a> TryFrom<SockConfig<'a>> for Push