trait RequestSession {
// Required methods
fn get_session_token(&mut self) -> Option<String>;
fn require_session_token(&mut self) -> IronResult<String>;
fn expect_session_token(&mut self) -> IronResult<String>;
}Required Methods§
fn get_session_token(&mut self) -> Option<String>
fn require_session_token(&mut self) -> IronResult<String>
fn expect_session_token(&mut self) -> IronResult<String>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".