pub trait Backend: Debug {
// Required methods
fn fetch<'life0, 'life1, 'async_trait>(
&'life0 self,
id: CloudId<'life1>
) -> Pin<Box<dyn Future<Output = Result<Bytes, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn upload<'life0, 'life1, 'async_trait>(
&'life0 self,
source: Bytes,
id: CloudId<'life1>
) -> Pin<Box<dyn Future<Output = Result<usize, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn list<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn updated<'life0, 'life1, 'async_trait>(
&'life0 self,
id: CloudId<'life1>
) -> Pin<Box<dyn Future<Output = Result<Option<Timestamp>, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}