pub struct EncryptedFileOAuthCredentialStorage { /* private fields */ }Implementations§
Trait Implementations§
Source§impl OAuthCredentialStorage for EncryptedFileOAuthCredentialStorage
impl OAuthCredentialStorage for EncryptedFileOAuthCredentialStorage
fn load_credential<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<OAuthCredential>, OAuthError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn save_credential<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
credential: OAuthCredential,
) -> Pin<Box<dyn Future<Output = Result<(), OAuthError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete_credential<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), OAuthError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn has_credential(&self, key: &str) -> bool
Auto Trait Implementations§
impl !Freeze for EncryptedFileOAuthCredentialStorage
impl RefUnwindSafe for EncryptedFileOAuthCredentialStorage
impl Send for EncryptedFileOAuthCredentialStorage
impl Sync for EncryptedFileOAuthCredentialStorage
impl Unpin for EncryptedFileOAuthCredentialStorage
impl UnsafeUnpin for EncryptedFileOAuthCredentialStorage
impl UnwindSafe for EncryptedFileOAuthCredentialStorage
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