pub struct ExposedSecret<'brand, T>(/* private fields */);Expand description
Type representing an exposed secret value. It holds an annotated ('brand) invariant lifetime.
Trait Implementations§
Auto Trait Implementations§
impl<'brand, T> Freeze for ExposedSecret<'brand, T>where
T: Freeze,
impl<'brand, T> RefUnwindSafe for ExposedSecret<'brand, T>where
T: RefUnwindSafe,
impl<'brand, T> Send for ExposedSecret<'brand, T>where
T: Send,
impl<'brand, T> Sync for ExposedSecret<'brand, T>where
T: Sync,
impl<'brand, T> Unpin for ExposedSecret<'brand, T>where
T: Unpin,
impl<'brand, T> UnwindSafe for ExposedSecret<'brand, T>where
T: 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