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