Trait await_tree::Key
source · pub trait Key: Hash + Eq + Debug + Send + Sync + 'static { }
Expand description
A key that can be used to identify a task and its await-tree in the Registry
.
All thread-safe types that can be used as a key of a hash map are automatically implemented with this trait.
Object Safety§
This trait is not object safe.