Trait Query

Source
pub trait Query {
    // Required method
    fn on_timer(&mut self, timer: &Timer) -> Result;
}
Expand description

A query to be executed against a provider

Required Methods§

Source

fn on_timer(&mut self, timer: &Timer) -> Result

Called for each timer owned by the provider

Implementations on Foreign Types§

Source§

impl Query for Option<Timestamp>

Implement Query for Option<Timestamp> to make it easy to get the earliest armed timestamp

Source§

fn on_timer(&mut self, timer: &Timer) -> Result

Implementors§