pub struct JsonFileStateStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl ClientStateStore for JsonFileStateStore
impl ClientStateStore for JsonFileStateStore
fn load(&self) -> Result<PersistedClientState, ClientError>
fn save(&self, state: &PersistedClientState) -> Result<(), ClientError>
fn append_request_journal( &self, entry: &RequestJournalEntry, ) -> Result<(), ClientError>
Source§impl Clone for JsonFileStateStore
impl Clone for JsonFileStateStore
Source§fn clone(&self) -> JsonFileStateStore
fn clone(&self) -> JsonFileStateStore
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 moreAuto Trait Implementations§
impl Freeze for JsonFileStateStore
impl RefUnwindSafe for JsonFileStateStore
impl Send for JsonFileStateStore
impl Sync for JsonFileStateStore
impl Unpin for JsonFileStateStore
impl UnsafeUnpin for JsonFileStateStore
impl UnwindSafe for JsonFileStateStore
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