Label

Trait Label 

Source
pub trait Label:
    PartialEq
    + Eq
    + Hash
    + Clone
    + Ord
    + Debug
    + Default { }
Expand description

Discrete labels

Labels are countable, comparable and hashable. Currently null-type (no targets), boolean (binary task) and usize, strings (multi-label tasks) are supported.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Label for &str

Source§

impl Label for bool

Source§

impl Label for ()

Source§

impl Label for usize

Source§

impl Label for String

Source§

impl<L: Label> Label for Option<L>

Implementors§