Enum internet2::transport::zeromq::ZmqConnectionType
source · #[repr(u8)]
pub enum ZmqConnectionType {
PullPush,
ReqRep,
PubSub,
Router,
}
Expand description
API type for node-to-node communications used by ZeroMQ
Variants§
Implementations§
source§impl ZmqConnectionType
impl ZmqConnectionType
pub fn socket_in_type(self) -> ZmqSocketType
pub fn socket_out_type(self) -> ZmqSocketType
Trait Implementations§
source§impl Clone for ZmqConnectionType
impl Clone for ZmqConnectionType
source§fn clone(&self) -> ZmqConnectionType
fn clone(&self) -> ZmqConnectionType
Returns a copy of the value. Read more
1.0.0 · 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 ZmqConnectionType
impl Debug for ZmqConnectionType
source§impl Display for ZmqConnectionType
impl Display for ZmqConnectionType
source§impl Hash for ZmqConnectionType
impl Hash for ZmqConnectionType
source§impl Ord for ZmqConnectionType
impl Ord for ZmqConnectionType
source§fn cmp(&self, other: &ZmqConnectionType) -> Ordering
fn cmp(&self, other: &ZmqConnectionType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ZmqConnectionType> for ZmqConnectionType
impl PartialEq<ZmqConnectionType> for ZmqConnectionType
source§fn eq(&self, other: &ZmqConnectionType) -> bool
fn eq(&self, other: &ZmqConnectionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ZmqConnectionType> for ZmqConnectionType
impl PartialOrd<ZmqConnectionType> for ZmqConnectionType
source§fn partial_cmp(&self, other: &ZmqConnectionType) -> Option<Ordering>
fn partial_cmp(&self, other: &ZmqConnectionType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more