Skip to main content

VerifiedLocalCopyStaging

Trait VerifiedLocalCopyStaging 

Source
pub trait VerifiedLocalCopyStaging: Send + Sync {
    // Required method
    fn stage_verified_local_copy<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        reference: &'life1 RowBlobRef,
        destination: &'life2 Path,
    ) -> Pin<Box<dyn Future<Output = Result<AtomicStagedFile, BlobCacheError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}
Expand description

Materializing a blob back to a local file needs one capability from the connected blob access the host composes: staging a verified local copy of an exact reference. Transitions name only this port.

Required Methods§

Source

fn stage_verified_local_copy<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, reference: &'life1 RowBlobRef, destination: &'life2 Path, ) -> Pin<Box<dyn Future<Output = Result<AtomicStagedFile, BlobCacheError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§