Skip to main content

NodeRemover

Trait NodeRemover 

Source
pub trait NodeRemover {
    // Required methods
    fn shutdown_all_drivers<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn shutdown_pkg_drivers<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn set_on_removal_timeout_callback(&self, callback: Box<dyn Fn()>);
}

Required Methods§

Source

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

Source

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

Source

fn set_on_removal_timeout_callback(&self, callback: Box<dyn Fn()>)

Implementors§