pub struct SessionLayer;Available on crate feature
router only.Expand description
A router layer that makes the session state available for the current request.
Implementations§
Source§impl SessionLayer
impl SessionLayer
Trait Implementations§
Source§impl Clone for SessionLayer
impl Clone for SessionLayer
Source§fn clone(&self) -> SessionLayer
fn clone(&self) -> SessionLayer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SessionLayer
Source§impl Debug for SessionLayer
impl Debug for SessionLayer
Source§impl Default for SessionLayer
impl Default for SessionLayer
Source§fn default() -> SessionLayer
fn default() -> SessionLayer
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SessionLayer
impl RefUnwindSafe for SessionLayer
impl Send for SessionLayer
impl Sync for SessionLayer
impl Unpin for SessionLayer
impl UnsafeUnpin for SessionLayer
impl UnwindSafe for SessionLayer
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