pub enum BrokerRequestCode {
RegisterBroker = 103,
BrokerHeartbeat = 904,
GetBrokerClusterInfo = 106,
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for BrokerRequestCode
impl Clone for BrokerRequestCode
source§fn clone(&self) -> BrokerRequestCode
fn clone(&self) -> BrokerRequestCode
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 BrokerRequestCode
impl Debug for BrokerRequestCode
source§impl FromStr for BrokerRequestCode
impl FromStr for BrokerRequestCode
source§impl Hash for BrokerRequestCode
impl Hash for BrokerRequestCode
source§impl Ord for BrokerRequestCode
impl Ord for BrokerRequestCode
source§fn cmp(&self, other: &BrokerRequestCode) -> Ordering
fn cmp(&self, other: &BrokerRequestCode) -> 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 for BrokerRequestCode
impl PartialEq for BrokerRequestCode
source§fn eq(&self, other: &BrokerRequestCode) -> bool
fn eq(&self, other: &BrokerRequestCode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for BrokerRequestCode
impl PartialOrd for BrokerRequestCode
source§fn partial_cmp(&self, other: &BrokerRequestCode) -> Option<Ordering>
fn partial_cmp(&self, other: &BrokerRequestCode) -> 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 moreimpl Copy for BrokerRequestCode
impl Eq for BrokerRequestCode
impl StructuralEq for BrokerRequestCode
impl StructuralPartialEq for BrokerRequestCode
Auto Trait Implementations§
impl RefUnwindSafe for BrokerRequestCode
impl Send for BrokerRequestCode
impl Sync for BrokerRequestCode
impl Unpin for BrokerRequestCode
impl UnwindSafe for BrokerRequestCode
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