Skip to main content

HypercoreCashDepositApplier

Trait HypercoreCashDepositApplier 

Source
pub trait HypercoreCashDepositApplier:
    Send
    + Sync
    + 'static {
    // Required method
    fn apply_deposit<'life0, 'async_trait>(
        &'life0 self,
        request: DepositRequest,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

impl HypercoreCashDepositApplier for Sender<DepositRequest>

Source§

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

Implementors§