pub struct SecretRef(/* private fields */);Expand description
An opaque reference to a secret held by a custody service.
The reference names where a secret lives; it is not the secret, and this
library never resolves it. Debug is redacted so the reference does not
leak into logs by accident; read it explicitly with SecretRef::as_str.
Implementations§
Trait Implementations§
impl Eq for SecretRef
impl StructuralPartialEq for SecretRef
Auto Trait Implementations§
impl Forget for SecretRef
impl Freeze for SecretRef
impl Move for SecretRef
impl RefUnwindSafe for SecretRef
impl Send for SecretRefwhere
RawVecInner: Send,
impl Sync for SecretRefwhere
RawVecInner: Sync,
impl Unpin for SecretRef
impl UnsafeUnpin for SecretRef
impl UnwindSafe for SecretRefwhere
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.