pub trait AlertString {
// Required method
fn send_alert(&self, context: &Context);
}Required Methods§
Sourcefn send_alert(&self, context: &Context)
fn send_alert(&self, context: &Context)
Sends an alert named by self to the provided context.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl AlertString for &CStr
impl AlertString for &CStr
fn send_alert(&self, context: &Context)
Source§impl AlertString for &String
Available on fuchsia_api_level_at_least=27 only.
impl AlertString for &String
Available on
fuchsia_api_level_at_least=27 only.fn send_alert(&self, context: &Context)
Source§impl AlertString for &str
Available on fuchsia_api_level_at_least=27 only.
impl AlertString for &str
Available on
fuchsia_api_level_at_least=27 only.