Trait noosphere_core::data::TryBundle
source · pub trait TryBundle: TryBundleSendSync + Serialize + DeserializeOwned {
// Provided methods
fn extend_bundle<'life0, 'life1, 'life2, 'async_trait, S>(
&'life0 self,
bundle: &'life1 mut Bundle,
_store: &'life2 S
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where S: 'async_trait + BlockStore,
Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait { ... }
fn extend_bundle_with_cid<'life0, 'life1, 'life2, 'async_trait, S>(
cid: &'life0 Cid,
bundle: &'life1 mut Bundle,
store: &'life2 S
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where S: 'async_trait + BlockStore,
Self: Send + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait { ... }
fn bundle<'life0, 'life1, 'async_trait, S>(
&'life0 self,
store: &'life1 S
) -> Pin<Box<dyn Future<Output = Result<Bundle>> + Send + 'async_trait>>
where S: 'async_trait + BlockStore,
Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn bundle_with_cid<'life0, 'life1, 'async_trait, S>(
cid: &'life0 Cid,
store: &'life1 S
) -> Pin<Box<dyn Future<Output = Result<Bundle>> + Send + 'async_trait>>
where S: 'async_trait + BlockStore,
Self: Send + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
}Provided Methods§
fn extend_bundle<'life0, 'life1, 'life2, 'async_trait, S>( &'life0 self, bundle: &'life1 mut Bundle, _store: &'life2 S ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where S: 'async_trait + BlockStore, Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,
fn extend_bundle_with_cid<'life0, 'life1, 'life2, 'async_trait, S>( cid: &'life0 Cid, bundle: &'life1 mut Bundle, store: &'life2 S ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where S: 'async_trait + BlockStore, Self: Send + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,
fn bundle<'life0, 'life1, 'async_trait, S>( &'life0 self, store: &'life1 S ) -> Pin<Box<dyn Future<Output = Result<Bundle>> + Send + 'async_trait>>where S: 'async_trait + BlockStore, Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
fn bundle_with_cid<'life0, 'life1, 'async_trait, S>( cid: &'life0 Cid, store: &'life1 S ) -> Pin<Box<dyn Future<Output = Result<Bundle>> + Send + 'async_trait>>where S: 'async_trait + BlockStore, Self: Send + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Object Safety§
This trait is not object safe.