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