Skip to main content

HasTag

Trait HasTag 

Source
pub trait HasTag {
    // Required method
    fn tag(&self) -> &str;
}
Expand description

Values that expose a string tag for Matcher::tag routing.

Required Methods§

Source

fn tag(&self) -> &str

Discriminant string compared against the tag passed to Matcher::tag.

Implementors§