pub struct JsonFileStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for JsonFileStore
impl Clone for JsonFileStore
Source§fn clone(&self) -> JsonFileStore
fn clone(&self) -> JsonFileStore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JsonFileStore
impl Debug for JsonFileStore
Source§impl MemoryStore for JsonFileStore
impl MemoryStore for JsonFileStore
fn load_snapshot(&self) -> Result<Option<Snapshot>, StorageError>
fn save_snapshot(&self, snapshot: &Snapshot) -> Result<(), StorageError>
fn load_kernel(&self) -> Result<Kernel, StorageError>
fn save_kernel(&self, kernel: &Kernel) -> Result<(), StorageError>
Auto Trait Implementations§
impl Freeze for JsonFileStore
impl RefUnwindSafe for JsonFileStore
impl Send for JsonFileStore
impl Sync for JsonFileStore
impl Unpin for JsonFileStore
impl UnsafeUnpin for JsonFileStore
impl UnwindSafe for JsonFileStore
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