pub struct FileCredentialStore { /* private fields */ }Expand description
File-backed OAuth credential store.
Implementations§
Trait Implementations§
Source§impl Clone for FileCredentialStore
impl Clone for FileCredentialStore
Source§fn clone(&self) -> FileCredentialStore
fn clone(&self) -> FileCredentialStore
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 CredentialStore for FileCredentialStore
impl CredentialStore for FileCredentialStore
fn load<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<StoredCredentials>, AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
FileCredentialStore: 'async_trait,
fn save<'life0, 'async_trait>(
&'life0 self,
credentials: StoredCredentials,
) -> Pin<Box<dyn Future<Output = Result<(), AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
FileCredentialStore: 'async_trait,
fn clear<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), AuthError>> + Send + 'async_trait>>where
'life0: 'async_trait,
FileCredentialStore: 'async_trait,
Auto Trait Implementations§
impl Freeze for FileCredentialStore
impl RefUnwindSafe for FileCredentialStore
impl Send for FileCredentialStore
impl Sync for FileCredentialStore
impl Unpin for FileCredentialStore
impl UnsafeUnpin for FileCredentialStore
impl UnwindSafe for FileCredentialStore
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