mas_axum_utils::session

Trait 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,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§