referrerpolicy=no-referrer-when-downgrade
pub trait RecoveryHandle: Send {
    // Required method
    fn send_recovery_msg<'life0, 'async_trait>(
        &'life0 mut self,
        message: AvailabilityRecoveryMessage,
        origin: &'static str,
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Test-friendly wrapper trait for the overseer handle. Can be used to simulate failing recovery requests.

Required Methods§

source

fn send_recovery_msg<'life0, 'async_trait>( &'life0 mut self, message: AvailabilityRecoveryMessage, origin: &'static str, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementations on Foreign Types§

source§

impl RecoveryHandle for Handle

source§

fn send_recovery_msg<'life0, 'async_trait>( &'life0 mut self, message: AvailabilityRecoveryMessage, origin: &'static str, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§