pub trait ResponseFlashExt {
// Required methods
fn flash(&mut self, level: &str, msg: String);
fn flash_success<S: Into<String>>(&mut self, msg: S);
fn flash_info<S: Into<String>>(&mut self, msg: S);
fn flash_warn<S: Into<String>>(&mut self, msg: S);
fn flash_error<S: Into<String>>(&mut self, msg: S);
fn flash_debug<S: Into<String>>(&mut self, msg: S);
}Required Methods§
fn flash(&mut self, level: &str, msg: String)
fn flash_success<S: Into<String>>(&mut self, msg: S)
fn flash_info<S: Into<String>>(&mut self, msg: S)
fn flash_warn<S: Into<String>>(&mut self, msg: S)
fn flash_error<S: Into<String>>(&mut self, msg: S)
fn flash_debug<S: Into<String>>(&mut self, msg: S)
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.