pub struct FileStateStore { /* private fields */ }Expand description
File-backed OAuth authorization-state store.
Implementations§
Trait Implementations§
Source§impl Clone for FileStateStore
impl Clone for FileStateStore
Source§fn clone(&self) -> FileStateStore
fn clone(&self) -> FileStateStore
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 FileStateStore
impl Debug for FileStateStore
Source§impl StateStore for FileStateStore
impl StateStore for FileStateStore
fn save<'life0, 'life1, 'async_trait>(
&'life0 self,
csrf_token: &'life1 str,
state: StoredAuthorizationState,
) -> Pin<Box<dyn Future<Output = Result<(), AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
FileStateStore: 'async_trait,
fn load<'life0, 'life1, 'async_trait>(
&'life0 self,
csrf_token: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<StoredAuthorizationState>, AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
FileStateStore: 'async_trait,
fn delete<'life0, 'life1, 'async_trait>(
&'life0 self,
csrf_token: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
FileStateStore: 'async_trait,
Auto Trait Implementations§
impl Freeze for FileStateStore
impl RefUnwindSafe for FileStateStore
impl Send for FileStateStore
impl Sync for FileStateStore
impl Unpin for FileStateStore
impl UnsafeUnpin for FileStateStore
impl UnwindSafe for FileStateStore
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