pub struct FilePersistence { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for FilePersistence
impl Clone for FilePersistence
Source§impl Debug for FilePersistence
impl Debug for FilePersistence
Source§impl PersistenceBackend for FilePersistence
impl PersistenceBackend for FilePersistence
fn load(&self, sync_key: &str) -> Result<PersistedState, SyncError>
fn store_snapshot(&self, snapshot: &DurableSnapshot) -> Result<(), SyncError>
fn append_mutation(&self, mutation: &DurableMutation) -> Result<(), SyncError>
fn acknowledge_mutation( &self, sync_key: &str, mutation_id: u64, ) -> Result<(), SyncError>
fn compact(&self, sync_key: &str) -> Result<(), SyncError>
fn store_metadata(&self, metadata: &SyncMetadata) -> Result<(), SyncError>
fn clear(&self, sync_key: &str) -> Result<(), SyncError>
Auto Trait Implementations§
impl Freeze for FilePersistence
impl RefUnwindSafe for FilePersistence
impl Send for FilePersistence
impl Sync for FilePersistence
impl Unpin for FilePersistence
impl UnsafeUnpin for FilePersistence
impl UnwindSafe for FilePersistence
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