Skip to main content

ImageReader

Trait ImageReader 

Source
pub trait ImageReader: Send + Sync {
    // Required method
    fn list_images<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        host: &'life1 HostRecord,
        options: &'life2 ImageListOptions,
        cancellation: &'life3 CancellationToken,
    ) -> Pin<Box<dyn Future<Output = InfraResult<Vec<ImageSummary>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
}
Expand description

Docker image read operations.

Required Methods§

Source

fn list_images<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, host: &'life1 HostRecord, options: &'life2 ImageListOptions, cancellation: &'life3 CancellationToken, ) -> Pin<Box<dyn Future<Output = InfraResult<Vec<ImageSummary>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Lists images.

Implementors§