Type Definition asuran::repository::backend::object_wrappers::BackendObject [−][src]
pub type BackendObject = Box<dyn Backend<Index = IndexObject, Manifest = ManifestObject>>;
Trait Implementations
type Manifest = ManifestObject
type Index = IndexObject
Writes the specified encrypted key to the backend Read more
Attempts to read the encrypted key from the backend.
Returns a view of this respository’s manifest
fn read_chunk<'life0, 'async_trait>(
&'life0 mut self,
location: SegmentDescriptor
) -> Pin<Box<dyn Future<Output = Result<Chunk>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn read_chunk<'life0, 'async_trait>(
&'life0 mut self,
location: SegmentDescriptor
) -> Pin<Box<dyn Future<Output = Result<Chunk>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Starts reading a chunk from the backend Read more
fn write_chunk<'life0, 'async_trait>(
&'life0 mut self,
chunk: Chunk
) -> Pin<Box<dyn Future<Output = Result<SegmentDescriptor>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn write_chunk<'life0, 'async_trait>(
&'life0 mut self,
chunk: Chunk
) -> Pin<Box<dyn Future<Output = Result<SegmentDescriptor>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Starts writing a chunk to the backend Read more
Consumes the current backend handle, and does any work necessary to close out the backend properly Read more
Creates a new trait-object based BackendHandle Read more