pub struct RuntimeConfigDigest(/* private fields */);Expand description
The digest identity of security-relevant runtime configuration.
Implementations§
Source§impl RuntimeConfigDigest
impl RuntimeConfigDigest
Sourcepub fn digest_canonical(canonical_config: &[u8]) -> Self
pub fn digest_canonical(canonical_config: &[u8]) -> Self
Hash security-relevant runtime configuration with a VSH domain separator.
Trait Implementations§
Source§impl Clone for RuntimeConfigDigest
impl Clone for RuntimeConfigDigest
Source§fn clone(&self) -> RuntimeConfigDigest
fn clone(&self) -> RuntimeConfigDigest
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 RuntimeConfigDigest
Source§impl Debug for RuntimeConfigDigest
impl Debug for RuntimeConfigDigest
Source§impl Display for RuntimeConfigDigest
impl Display for RuntimeConfigDigest
impl Eq for RuntimeConfigDigest
Source§impl FromStr for RuntimeConfigDigest
impl FromStr for RuntimeConfigDigest
Source§impl Hash for RuntimeConfigDigest
impl Hash for RuntimeConfigDigest
Source§impl Ord for RuntimeConfigDigest
impl Ord for RuntimeConfigDigest
Source§fn cmp(&self, other: &RuntimeConfigDigest) -> Ordering
fn cmp(&self, other: &RuntimeConfigDigest) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for RuntimeConfigDigest
impl PartialEq for RuntimeConfigDigest
Source§impl PartialOrd for RuntimeConfigDigest
impl PartialOrd for RuntimeConfigDigest
impl StructuralPartialEq for RuntimeConfigDigest
Auto Trait Implementations§
impl Freeze for RuntimeConfigDigest
impl RefUnwindSafe for RuntimeConfigDigest
impl Send for RuntimeConfigDigest
impl Sync for RuntimeConfigDigest
impl Unpin for RuntimeConfigDigest
impl UnsafeUnpin for RuntimeConfigDigest
impl UnwindSafe for RuntimeConfigDigest
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