Skip to main content

ImagePullMutator

Trait ImagePullMutator 

Source
pub trait ImagePullMutator: Send + Sync {
    // Required method
    fn pull_image<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
        &'life0 self,
        host: &'life1 HostRecord,
        request: &'life2 ImagePullRequest,
        progress: &'life3 dyn MutationProgressReporter,
        cancellation: &'life4 CancellationToken,
    ) -> Pin<Box<dyn Future<Output = MutationResult<ImagePullReceipt>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait,
             'life4: 'async_trait;
}
Expand description

Driver for one image-pull stream.

Required Methods§

Source

fn pull_image<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, host: &'life1 HostRecord, request: &'life2 ImagePullRequest, progress: &'life3 dyn MutationProgressReporter, cancellation: &'life4 CancellationToken, ) -> Pin<Box<dyn Future<Output = MutationResult<ImagePullReceipt>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait,

Pulls one image while emitting canonical progress and preserving send uncertainty.

Implementors§