LyquidImageRepo

Trait LyquidImageRepo 

pub trait LyquidImageRepo: Send + Sync {
    // Required methods
    fn retrieve<'life0, 'async_trait>(
        &'life0 self,
        image_digest: B256,
    ) -> Pin<Box<dyn Future<Output = Result<LazyLyquidPack, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn put<'life0, 'async_trait>(
        &'life0 self,
        image: LyquidPack,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn contains<'life0, 'async_trait>(
        &'life0 self,
        image_digest: B256,
    ) -> Pin<Box<dyn Future<Output = Result<bool, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

fn retrieve<'life0, 'async_trait>( &'life0 self, image_digest: B256, ) -> Pin<Box<dyn Future<Output = Result<LazyLyquidPack, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

fn put<'life0, 'async_trait>( &'life0 self, image: LyquidPack, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

fn contains<'life0, 'async_trait>( &'life0 self, image_digest: B256, ) -> Pin<Box<dyn Future<Output = Result<bool, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§