pub trait SessionDepotExt {
    fn set_session(&mut self, session: Session) -> &mut Self;
    fn take_session(&mut self) -> Option<Session>;
    fn session(&self) -> Option<&Session>;
    fn session_mut(&mut self) -> Option<&mut Session>;
}
Expand description

SessionDepotExt

Required Methods§

Sets session

Take session

Get session reference

Get session mutable reference

Implementations on Foreign Types§

Implementors§