Id

Trait Id 

Source
pub trait Id:
    PartialEq
    + Eq
    + Format
    + Clone
    + Copy { }
Expand description

Trait for task identifiers.

You need an object implementing this trait (likely by using derive()) in order to identify tasks to the watchdog. This can be any object you like implementing this trait, although an enum would probably be a good choice.

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.

Implementors§