pub trait TypeMapKey: Any {
    type Value: Any + Send + Sync;
}
Expand description

TypeMapKey is used to declare key types that are eligible for use with TypeMap.

Required Associated Types§

source

type Value: Any + Send + Sync

Defines the value type that corresponds to this TypeMapKey.

Implementors§