Skip to main content

StateSignatureApi

Trait StateSignatureApi 

Source
pub trait StateSignatureApi {
    type Signature: Serialize + Send + Sync + 'static;

    // Required method
    fn get_state_signature<'life0, 'async_trait>(
        &'life0 self,
        height: u64,
    ) -> Pin<Box<dyn Future<Output = Result<Self::Signature>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Associated Types§

Source

type Signature: Serialize + Send + Sync + 'static

Required Methods§

Source

fn get_state_signature<'life0, 'async_trait>( &'life0 self, height: u64, ) -> Pin<Box<dyn Future<Output = Result<Self::Signature>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§