pub struct ZmqEndpoint { /* private fields */ }Expand description
An address (tcp://... or ipc://...) with an explicit listening role.
§Examples
use ruststream_zeromq::ZmqEndpoint;
let listener = ZmqEndpoint::bind("tcp://0.0.0.0:5555");
let dialer = ZmqEndpoint::connect("tcp://ml:5555");
let local = ZmqEndpoint::bind("ipc:///tmp/orders");Implementations§
Trait Implementations§
Source§impl Clone for ZmqEndpoint
impl Clone for ZmqEndpoint
Source§fn clone(&self) -> ZmqEndpoint
fn clone(&self) -> ZmqEndpoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ZmqEndpoint
impl Debug for ZmqEndpoint
impl Eq for ZmqEndpoint
Source§impl PartialEq for ZmqEndpoint
impl PartialEq for ZmqEndpoint
impl StructuralPartialEq for ZmqEndpoint
Auto Trait Implementations§
impl Freeze for ZmqEndpoint
impl RefUnwindSafe for ZmqEndpoint
impl Send for ZmqEndpoint
impl Sync for ZmqEndpoint
impl Unpin for ZmqEndpoint
impl UnsafeUnpin for ZmqEndpoint
impl UnwindSafe for ZmqEndpoint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self with key and returns true if they are equal.