pub enum MessageLabel {
Put,
Del,
Query,
Reply,
ReplyErr,
ResponseFinal,
Interest,
Declare,
Oam,
}Variants§
Trait Implementations§
Source§impl Clone for MessageLabel
impl Clone for MessageLabel
Source§fn clone(&self) -> MessageLabel
fn clone(&self) -> MessageLabel
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 MessageLabel
impl Debug for MessageLabel
Source§impl EncodeLabelValue for MessageLabel
impl EncodeLabelValue for MessageLabel
Source§fn encode(&self, encoder: &mut LabelValueEncoder<'_>) -> Result
fn encode(&self, encoder: &mut LabelValueEncoder<'_>) -> Result
Encode oneself into the given encoder.
Source§impl From<NetworkBodyRef<'_>> for MessageLabel
impl From<NetworkBodyRef<'_>> for MessageLabel
Source§fn from(value: NetworkBodyRef<'_>) -> Self
fn from(value: NetworkBodyRef<'_>) -> Self
Converts to this type from the input type.
Source§impl Hash for MessageLabel
impl Hash for MessageLabel
Source§impl PartialEq for MessageLabel
impl PartialEq for MessageLabel
impl Copy for MessageLabel
impl Eq for MessageLabel
impl StructuralPartialEq for MessageLabel
Auto Trait Implementations§
impl Freeze for MessageLabel
impl RefUnwindSafe for MessageLabel
impl Send for MessageLabel
impl Sync for MessageLabel
impl Unpin for MessageLabel
impl UnsafeUnpin for MessageLabel
impl UnwindSafe for MessageLabel
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.