pub trait UserSession {
// Required method
fn get_session(&self) -> Session;
}Expand description
Helper trait that allows to get session
Required Methods§
fn get_session(&self) -> Session
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".