Struct trillium_http::StateSet [−][src]
pub struct StateSet(_);Expand description
Store and retrieve values by
TypeId. This
allows storing arbitrary data that implements Sync + Send + 'static.
Implementations
Insert a value into this StateSet.
If a value of this type already exists, it will be returned.
Get a reference to a value previously inserted on this StateSet.
Get a mutable reference to a value previously inserted on this StateSet.
Remove a value from this StateSet.
If a value of this type exists, it will be returned.