pub trait CloudContentBackend: Send + Sync {
// Required method
fn read_content<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 ContentReadRequest,
) -> Pin<Box<dyn Future<Output = BackendResult<ContentReadResponse>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Product-owned revision-bound content adapter.
Required Methods§
Sourcefn read_content<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 ContentReadRequest,
) -> Pin<Box<dyn Future<Output = BackendResult<ContentReadResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn read_content<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 ContentReadRequest,
) -> Pin<Box<dyn Future<Output = BackendResult<ContentReadResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Reads complete or ranged content for one exact revision.