Trait NotifyView

Source
pub trait NotifyView {
    // Required methods
    fn notify(
        &self,
        urgency: Urgency,
        summary: &str,
        body: Option<&str>,
    ) -> Result<()>;
    fn ask_existing(&mut self, name: &[u8], modified: u64) -> Result<bool>;
}

Required Methods§

Source

fn notify( &self, urgency: Urgency, summary: &str, body: Option<&str>, ) -> Result<()>

Source

fn ask_existing(&mut self, name: &[u8], modified: u64) -> Result<bool>

Implementors§