pub struct SecretValue(/* private fields */);Expand description
A resolved secret value. Read it with SecretValue::expose at the
one place that hands it on (a child process environment, the keyring).
Implementations§
Trait Implementations§
Source§impl Clone for SecretValue
impl Clone for SecretValue
Source§impl Debug for SecretValue
impl Debug for SecretValue
impl Eq for SecretValue
Source§impl PartialEq for SecretValue
impl PartialEq for SecretValue
impl StructuralPartialEq for SecretValue
Auto Trait Implementations§
impl Forget for SecretValue
impl Freeze for SecretValue
impl Move for SecretValue
impl RefUnwindSafe for SecretValue
impl Send for SecretValuewhere
RawVecInner: Send,
impl Sync for SecretValuewhere
RawVecInner: Sync,
impl Unpin for SecretValue
impl UnsafeUnpin for SecretValue
impl UnwindSafe for SecretValuewhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.