Skip to main content

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".

Implementations on Foreign Types§

Source§

impl Label for &str

Source§

impl Label for ()

Source§

impl Label for String

Source§

impl Label for bool

Source§

impl Label for usize

Source§

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

Implementors§