Trait typemap::Key
[−]
[src]
pub trait Key: Any { type Value: Any; }
This trait defines the relationship between keys and values in a TypeMap.
It is implemented for Keys, with a phantom associated type for the values.
Associated Types
Implementors
impl Key for Router
impl<P: Key> Key for State<P> where P::Value: 'static
impl<P: Key> Key for Read<P> where P::Value: 'static
impl<P: Key> Key for Write<P> where P::Value: 'static
impl Key for MaxBodyLength
impl Key for Raw
impl Key for Json
impl<T> Key for Struct<T> where T: Decodable + Any
impl Key for EngineProvider