pub struct Secret { /* private fields */ }Expand description
An unforgeable handle to sensitive material held by the runtime. The handle is opaque to guests: components can pass it through schema values and reveal it only through capability-gated host interfaces.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Secret
impl RefUnwindSafe for Secret
impl Send for Secret
impl Sync for Secret
impl Unpin for Secret
impl UnsafeUnpin for Secret
impl UnwindSafe for Secret
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