pub struct RootKey(/* private fields */);Expand description
Cache root key CRK_e: 32 random bytes, one per epoch, held only by members.
Implementations§
Source§impl RootKey
impl RootKey
pub fn lookup_key(&self) -> LookupKey
pub fn segment_key(&self) -> SegmentKey
pub fn record_key(&self) -> RecordKey
Trait Implementations§
Auto Trait Implementations§
impl Forget for RootKey
impl Freeze for RootKey
impl Move for RootKey
impl RefUnwindSafe for RootKey
impl Send for RootKey
impl Sync for RootKey
impl Unpin for RootKey
impl UnsafeUnpin for RootKey
impl UnwindSafe for RootKey
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