pub struct FilePersistence { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AuthPersistence for FilePersistence
impl AuthPersistence for FilePersistence
fn set(&self, state: Option<PersistedAuthState>) -> AuthResult<()>
fn get(&self) -> AuthResult<Option<PersistedAuthState>>
fn subscribe( &self, listener: PersistenceListener, ) -> AuthResult<PersistenceSubscription>
Source§impl Clone for FilePersistence
impl Clone for FilePersistence
Source§fn clone(&self) -> FilePersistence
fn clone(&self) -> FilePersistence
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 FilePersistence
impl RefUnwindSafe for FilePersistence
impl Send for FilePersistence
impl Sync for FilePersistence
impl Unpin 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