DeliveryLabel

Trait DeliveryLabel 

Source
pub trait DeliveryLabel:
    'static
    + Send
    + Sync {
    // Required methods
    fn dyn_debug(&self, f: &mut Formatter<'_>) -> Result;
    fn as_dyn_eq(&self) -> &dyn DynEq;
    fn dyn_hash(&self, state: &mut dyn Hasher);
}

Required Methods§

Source

fn dyn_debug(&self, f: &mut Formatter<'_>) -> Result

Get debug information for this delivery label

Source

fn as_dyn_eq(&self) -> &dyn DynEq

Compare delivery labels dynamically. This will take into account whether the underlying labels belong to the same type.

Source

fn dyn_hash(&self, state: &mut dyn Hasher)

Hash the delivery label.

Implementors§