pub struct SystemSecretStore { /* private fields */ }Expand description
System credential store, scoped to one application.
service_prefix keeps two Origin applications on the same machine from reading
each other’s credentials.
Implementations§
Trait Implementations§
Source§impl Clone for SystemSecretStore
impl Clone for SystemSecretStore
Source§fn clone(&self) -> SystemSecretStore
fn clone(&self) -> SystemSecretStore
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 Debug for SystemSecretStore
impl Debug for SystemSecretStore
Source§impl SecretStore for SystemSecretStore
impl SecretStore for SystemSecretStore
Source§fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 SecretKey,
) -> Pin<Box<dyn Future<Output = Result<Option<Secret>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 SecretKey,
) -> Pin<Box<dyn Future<Output = Result<Option<Secret>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Ok(None) when no secret is stored under key — a missing key is not an error.Auto Trait Implementations§
impl Freeze for SystemSecretStore
impl RefUnwindSafe for SystemSecretStore
impl Send for SystemSecretStore
impl Sync for SystemSecretStore
impl Unpin for SystemSecretStore
impl UnsafeUnpin for SystemSecretStore
impl UnwindSafe for SystemSecretStore
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