pub struct LocalBackupStorage { /* private fields */ }Expand description
Local backup storage implementation
Implementationsยง
Trait Implementationsยง
Sourceยงimpl KeyBackupStorage for LocalBackupStorage
impl KeyBackupStorage for LocalBackupStorage
fn store_backup<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
group_id: [u8; 32],
keyset: &'life1 KeySet,
metadata: &'life2 BackupMetadata,
) -> Pin<Box<dyn Future<Output = Result<BackupId>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn retrieve_backup<'life0, 'async_trait>(
&'life0 self,
backup_id: BackupId,
) -> Pin<Box<dyn Future<Output = Result<(KeySet, BackupMetadata)>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_backups<'life0, 'async_trait>(
&'life0 self,
_group_id: [u8; 32],
) -> Pin<Box<dyn Future<Output = Result<Vec<BackupInfo>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_backup<'life0, 'async_trait>(
&'life0 self,
backup_id: BackupId,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn verify_backup<'life0, 'async_trait>(
&'life0 self,
backup_id: BackupId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementationsยง
impl Freeze for LocalBackupStorage
impl RefUnwindSafe for LocalBackupStorage
impl Send for LocalBackupStorage
impl Sync for LocalBackupStorage
impl Unpin for LocalBackupStorage
impl UnwindSafe for LocalBackupStorage
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more