Skip to main content

AlertString

Trait AlertString 

Source
pub trait AlertString {
    // Required method
    fn send_alert(&self, context: &Context);
}

Required Methods§

Source

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

Source§

fn send_alert(&self, context: &Context)

Source§

impl AlertString for &String

Available on fuchsia_api_level_at_least=27 only.
Source§

fn send_alert(&self, context: &Context)

Source§

impl AlertString for &str

Available on fuchsia_api_level_at_least=27 only.
Source§

fn send_alert(&self, context: &Context)

Implementors§