pub struct FileStore;Implementations§
Source§impl FileStore
impl FileStore
Sourcepub fn load(email: &str) -> Result<Option<TokenSet>, ClientError>
pub fn load(email: &str) -> Result<Option<TokenSet>, ClientError>
Load tokens for an email. Returns None if the file doesn’t exist.
Auto Trait Implementations§
impl Freeze for FileStore
impl RefUnwindSafe for FileStore
impl Send for FileStore
impl Sync for FileStore
impl Unpin for FileStore
impl UnsafeUnpin for FileStore
impl UnwindSafe for FileStore
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