Trait MessageTag

Source
pub trait MessageTag:
    DynHash
    + Debug
    + Send
    + Sync
    + 'static { }
Expand description

Defines a set of strongly-typed labels for a class of objects

Trait Implementations§

Source§

impl Clone for Box<dyn MessageTag>

Source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Hash for dyn MessageTag

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
Source§

impl PartialEq for dyn MessageTag

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for dyn MessageTag

Implementations on Foreign Types§

Source§

impl MessageTag for &'static str

Source§

impl MessageTag for Cow<'static, str>

Source§

impl MessageTag for u32

Implementors§