Trait LyquidImageRepo
pub trait LyquidImageRepo: Send + Sync {
// Required methods
fn retrieve<'life0, 'async_trait>(
&'life0 self,
image_hash: Hash,
) -> Pin<Box<dyn Future<Output = Result<Bytes, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn push<'life0, 'async_trait>(
&'life0 self,
image: Bytes,
) -> Pin<Box<dyn Future<Output = Result<Hash, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}