pub struct Session<S> {
pub cookie_name: String,
pub data: Option<S>,
}Fields§
§data: Option<S>Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Session<S>where
S: Freeze,
impl<S> RefUnwindSafe for Session<S>where
S: RefUnwindSafe,
impl<S> Send for Session<S>where
S: Send,
impl<S> Sync for Session<S>where
S: Sync,
impl<S> Unpin for Session<S>where
S: Unpin,
impl<S> UnwindSafe for Session<S>where
S: UnwindSafe,
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