pub struct RecordKey(/* private fields */);Expand description
Parent of the per-record keys, derived from the root key.
Implementations§
Source§impl RecordKey
impl RecordKey
Sourcepub fn from_bytes(bytes: [u8; 32]) -> Self
pub fn from_bytes(bytes: [u8; 32]) -> Self
Wraps 32 bytes of key material.
Source§impl RecordKey
impl RecordKey
Sourcepub fn object_keys(&self, salt: &[u8; 32]) -> ObjectKeys
pub fn object_keys(&self, salt: &[u8; 32]) -> ObjectKeys
Keys of the record sealed under salt.
Trait Implementations§
Auto Trait Implementations§
impl Forget for RecordKey
impl Freeze for RecordKey
impl Move for RecordKey
impl RefUnwindSafe for RecordKey
impl Send for RecordKey
impl Sync for RecordKey
impl Unpin for RecordKey
impl UnsafeUnpin for RecordKey
impl UnwindSafe for RecordKey
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