pub struct SessionHandler<V, K, S>{ /* private fields */ }
Expand description
Uses a SessionManager
to serialize and deserialize cookies during the request/response cycle.
Trait Implementations§
Source§impl<V: Serialize + DeserializeOwned + 'static, K: Key<Value = V> + Send + Sync, S: SessionManager<V> + 'static> Handler for SessionHandler<V, K, S>
impl<V: Serialize + DeserializeOwned + 'static, K: Key<Value = V> + Send + Sync, S: SessionManager<V> + 'static> Handler for SessionHandler<V, K, S>
Auto Trait Implementations§
impl<V, K, S> Freeze for SessionHandler<V, K, S>where
S: Freeze,
impl<V, K, S> !RefUnwindSafe for SessionHandler<V, K, S>
impl<V, K, S> Send for SessionHandler<V, K, S>where
K: Send,
impl<V, K, S> Sync for SessionHandler<V, K, S>where
K: Sync,
impl<V, K, S> Unpin for SessionHandler<V, K, S>
impl<V, K, S> !UnwindSafe for SessionHandler<V, K, S>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more