Trait holochain_types::element::SignedHeaderHashedExt[][src]

pub trait SignedHeaderHashedExt {
    fn from_content_sync(signed_header: SignedHeader) -> SignedHeaderHashed;
fn new<'life0, 'async_trait>(
        keystore: &'life0 MetaLairClient,
        header: HeaderHashed
    ) -> Pin<Box<dyn Future<Output = LairResult<SignedHeaderHashed>> + Send + 'async_trait>>
    where
        'life0: 'async_trait
;
fn validate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), KeystoreError>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Extension trait to keep zome types minimal

Required methods

Create a hash from data

Sign some content

Validate the data

Implementors