Trait mas_axum_utils::session::SessionInfoExt

source ·
pub trait SessionInfoExt {
    // Required methods
    fn session_info(self) -> (SessionInfo, Self);
    fn update_session_info(self, info: &SessionInfo) -> Self;

    // Provided method
    fn set_session(self, session: &BrowserSession) -> Self
       where Self: Sized { ... }
}

Required Methods§

source

fn session_info(self) -> (SessionInfo, Self)

source

fn update_session_info(self, info: &SessionInfo) -> Self

Provided Methods§

source

fn set_session(self, session: &BrowserSession) -> Self
where Self: Sized,

Object Safety§

This trait is not object safe.

Implementors§