pub struct SoftwareRecipientSecret(/* private fields */);Expand description
Exportable X25519 recipient secret. Explicit weaker-custody fallback.
StaticSecret zeroizes on drop. Holding this in-process is weaker custody;
the policy broker (later) must hold a provider handle instead.
Implementations§
Trait Implementations§
Source§impl Clone for SoftwareRecipientSecret
impl Clone for SoftwareRecipientSecret
Source§fn clone(&self) -> SoftwareRecipientSecret
fn clone(&self) -> SoftwareRecipientSecret
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 moreAuto Trait Implementations§
impl Freeze for SoftwareRecipientSecret
impl RefUnwindSafe for SoftwareRecipientSecret
impl Send for SoftwareRecipientSecret
impl Sync for SoftwareRecipientSecret
impl Unpin for SoftwareRecipientSecret
impl UnsafeUnpin for SoftwareRecipientSecret
impl UnwindSafe for SoftwareRecipientSecret
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