pub struct SemanticRootSnapshot { /* private fields */ }Expand description
Immutable device-derived root receipt.
Implementations§
Source§impl SemanticRootSnapshot
impl SemanticRootSnapshot
pub const fn digest(&self) -> &SemanticRootDigest
pub const fn extents(&self) -> SemanticExtents
pub const fn canonical_bytes(&self) -> &[u8; 64]
Trait Implementations§
Source§impl Clone for SemanticRootSnapshot
impl Clone for SemanticRootSnapshot
Source§fn clone(&self) -> SemanticRootSnapshot
fn clone(&self) -> SemanticRootSnapshot
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 moreimpl Copy for SemanticRootSnapshot
Source§impl Debug for SemanticRootSnapshot
impl Debug for SemanticRootSnapshot
impl Eq for SemanticRootSnapshot
Source§impl PartialEq for SemanticRootSnapshot
impl PartialEq for SemanticRootSnapshot
impl StructuralPartialEq for SemanticRootSnapshot
Auto Trait Implementations§
impl Freeze for SemanticRootSnapshot
impl RefUnwindSafe for SemanticRootSnapshot
impl Send for SemanticRootSnapshot
impl Sync for SemanticRootSnapshot
impl Unpin for SemanticRootSnapshot
impl UnsafeUnpin for SemanticRootSnapshot
impl UnwindSafe for SemanticRootSnapshot
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more