pub struct TokenStore { /* private fields */ }Expand description
Keeps a grant in the OS keyring, or in a 0600 file where there is none (headless Linux
without a Secret Service). BOTHY_TOKEN_STORE=file, or TokenStore::file_only, uses only
the file.
Implementations§
Trait Implementations§
Source§impl Clone for TokenStore
impl Clone for TokenStore
Auto Trait Implementations§
impl Freeze for TokenStore
impl RefUnwindSafe for TokenStore
impl Send for TokenStore
impl Sync for TokenStore
impl Unpin for TokenStore
impl UnsafeUnpin for TokenStore
impl UnwindSafe for TokenStore
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