pub struct OnDiskDocuments { /* private fields */ }
Trait Implementations§
Source§impl Clone for OnDiskDocuments
impl Clone for OnDiskDocuments
Source§fn clone(&self) -> OnDiskDocuments
fn clone(&self) -> OnDiskDocuments
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl DocumentService for OnDiskDocuments
impl DocumentService for OnDiskDocuments
fn insert( &self, id: &Uuid, hmac: Option<&DocumentHmac>, document: &EncryptedDocument, ) -> SharedResult<()>
fn get( &self, id: &Uuid, hmac: Option<&DocumentHmac>, ) -> SharedResult<EncryptedDocument>
fn maybe_get( &self, id: &Uuid, hmac: Option<&DocumentHmac>, ) -> SharedResult<Option<EncryptedDocument>>
fn delete(&self, id: &Uuid, hmac: Option<&DocumentHmac>) -> SharedResult<()>
fn retain( &self, file_hmacs: HashSet<(&Uuid, &DocumentHmac)>, ) -> SharedResult<()>
Auto Trait Implementations§
impl Freeze for OnDiskDocuments
impl RefUnwindSafe for OnDiskDocuments
impl Send for OnDiskDocuments
impl Sync for OnDiskDocuments
impl Unpin for OnDiskDocuments
impl UnwindSafe for OnDiskDocuments
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