Trait salvo_extra::session::SessionDepotExt[][src]

pub trait SessionDepotExt {
    fn set_session(&mut self, session: Session);
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

Set session

Take session

Get session reference

Get session mutable reference

Implementations on Foreign Types

Implementors