Trait ate::repository::ChainRepository[][src]

pub trait ChainRepository where
    Self: Send + Sync
{ #[must_use] fn open_by_url<'life0, 'async_trait>(
        self: Arc<Self>,
        url: &'life0 Url
    ) -> Pin<Box<dyn Future<Output = Result<Arc<Chain>, ChainCreationError>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn open_by_key<'life0, 'async_trait>(
        self: Arc<Self>,
        key: &'life0 ChainKey
    ) -> Pin<Box<dyn Future<Output = Result<Arc<Chain>, ChainCreationError>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]fn open_by_url<'life0, 'async_trait>(
    self: Arc<Self>,
    url: &'life0 Url
) -> Pin<Box<dyn Future<Output = Result<Arc<Chain>, ChainCreationError>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn open_by_key<'life0, 'async_trait>(
    self: Arc<Self>,
    key: &'life0 ChainKey
) -> Pin<Box<dyn Future<Output = Result<Arc<Chain>, ChainCreationError>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Implementors

impl ChainRepository for ChainOfTrustBuilder[src]

impl ChainRepository for Registry[src]

Loading content...