pub struct KeyringTokenStore { /* private fields */ }Expand description
Keyring-based implementation of TokenStore
Implementations§
Source§impl KeyringTokenStore
impl KeyringTokenStore
Sourcepub fn new(service: impl Into<String>) -> Self
pub fn new(service: impl Into<String>) -> Self
Create a new KeyringTokenStore with a custom service name
For production use, prefer default() which uses the standard service name
Sourcepub fn default_service() -> Self
pub fn default_service() -> Self
Create a KeyringTokenStore with the default service name “slack-rs” This is the recommended way to create a KeyringTokenStore for production use
Trait Implementations§
Source§impl TokenStore for KeyringTokenStore
impl TokenStore for KeyringTokenStore
Auto Trait Implementations§
impl Freeze for KeyringTokenStore
impl RefUnwindSafe for KeyringTokenStore
impl Send for KeyringTokenStore
impl Sync for KeyringTokenStore
impl Unpin for KeyringTokenStore
impl UnwindSafe for KeyringTokenStore
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