Skip to main content

Notifications

Trait Notifications 

Source
pub trait Notifications: Send {
    // Required method
    fn next(&mut self) -> BoxFuture<'_, Result<Vec<String>>>;
}

Required Methods§

Source

fn next(&mut self) -> BoxFuture<'_, Result<Vec<String>>>

Every payload buffered so far, waiting for at least one.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§