pub struct WrappedKey { /* private fields */ }Expand description
The record key of a secret statement, wrapped with the space’s secrets key.
In CBOR, a wrapped key is the array [epoch, envelope], where epoch is the number of
the secrets key. Wrapped keys are stored apart from changes, so that purging can
destroy them.
Implementations§
Trait Implementations§
Source§impl Clone for WrappedKey
impl Clone for WrappedKey
Source§impl Debug for WrappedKey
impl Debug for WrappedKey
impl Eq for WrappedKey
Source§impl FromCbor for WrappedKey
impl FromCbor for WrappedKey
Source§impl PartialEq for WrappedKey
impl PartialEq for WrappedKey
impl StructuralPartialEq for WrappedKey
Auto Trait Implementations§
impl Forget for WrappedKey
impl Freeze for WrappedKey
impl Move for WrappedKey
impl RefUnwindSafe for WrappedKey
impl Send for WrappedKey
impl Sync for WrappedKey
impl Unpin for WrappedKey
impl UnsafeUnpin for WrappedKey
impl UnwindSafe for WrappedKey
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