pub enum LocalityLabel {
Local,
Remote,
}Variants§
Trait Implementations§
Source§impl Clone for LocalityLabel
impl Clone for LocalityLabel
Source§fn clone(&self) -> LocalityLabel
fn clone(&self) -> LocalityLabel
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 LocalityLabel
impl Debug for LocalityLabel
Source§impl EncodeLabelValue for LocalityLabel
impl EncodeLabelValue for LocalityLabel
Source§fn encode(&self, encoder: &mut LabelValueEncoder<'_>) -> Result
fn encode(&self, encoder: &mut LabelValueEncoder<'_>) -> Result
Encode oneself into the given encoder.
Source§impl Hash for LocalityLabel
impl Hash for LocalityLabel
Source§impl PartialEq for LocalityLabel
impl PartialEq for LocalityLabel
impl Eq for LocalityLabel
impl StructuralPartialEq for LocalityLabel
Auto Trait Implementations§
impl Freeze for LocalityLabel
impl RefUnwindSafe for LocalityLabel
impl Send for LocalityLabel
impl Sync for LocalityLabel
impl Unpin for LocalityLabel
impl UnsafeUnpin for LocalityLabel
impl UnwindSafe for LocalityLabel
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
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
Compare self to
key and return true if they are equal.