pub trait CrossChainAppHandler {
    fn cross_chain_app_request<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        chain_id: &'life1 Id,
        request_id: u32,
        deadline: DateTime<Utc>,
        request: &'life2 [u8]
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; fn cross_chain_app_request_failed<'life0, 'life1, 'async_trait>(
        &'life0 self,
        chain_id: &'life1 Id,
        request_id: u32
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; fn cross_chain_app_response<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        chain_id: &'life1 Id,
        request_id: u32,
        response: &'life2 [u8]
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; }
Expand description

Required Methods§

Implementors§