Trait gotham::state::StateData
[−]
[src]
pub trait StateData: Any + Send { }
A marker trait for types that can be stored in State
.
Typically implemented using #[derive(StateData)]
, which is provided by the gotham_derive
crate.
Implementations on Foreign Types
impl StateData for Method
[src]
impl StateData for Uri
[src]
impl StateData for HttpVersion
[src]
impl StateData for Headers
[src]
Implementors
impl<T> StateData for SessionData<T> where
T: Default + Serialize + for<'de> Deserialize<'de> + Send + 'static,impl StateData for RequestPathSegments
impl StateData for RequestId