pub enum BrokerRole {
Master,
Slave,
}Expand description
Broker role
Variants§
Trait Implementations§
Source§impl Clone for BrokerRole
impl Clone for BrokerRole
Source§fn clone(&self) -> BrokerRole
fn clone(&self) -> BrokerRole
Returns a duplicate 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 BrokerRole
impl Debug for BrokerRole
Source§impl<'de> Deserialize<'de> for BrokerRole
impl<'de> Deserialize<'de> for BrokerRole
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BrokerRole
impl PartialEq for BrokerRole
Source§impl Serialize for BrokerRole
impl Serialize for BrokerRole
impl Copy for BrokerRole
impl Eq for BrokerRole
impl StructuralPartialEq for BrokerRole
Auto Trait Implementations§
impl Freeze for BrokerRole
impl RefUnwindSafe for BrokerRole
impl Send for BrokerRole
impl Sync for BrokerRole
impl Unpin for BrokerRole
impl UnwindSafe for BrokerRole
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