sui_bridge::sui_bridge_watchdog

Trait Observable

Source
pub trait Observable {
    // Required methods
    fn name(&self) -> &str;
    fn observe_and_report<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn interval(&self) -> Duration;
}

Required Methods§

Source

fn name(&self) -> &str

Source

fn observe_and_report<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn interval(&self) -> Duration

Implementors§