pub struct Continuity {
pub prev_manifest_digest: Option<[u8; 32]>,
pub base_manifest_digest: Option<[u8; 32]>,
pub chain_length: u64,
}Expand description
Continuity chain for rollback and fork detection.
Fields§
§prev_manifest_digest: Option<[u8; 32]>§base_manifest_digest: Option<[u8; 32]>§chain_length: u64Trait Implementations§
Source§impl Clone for Continuity
impl Clone for Continuity
Source§fn clone(&self) -> Continuity
fn clone(&self) -> Continuity
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 moreSource§impl Debug for Continuity
impl Debug for Continuity
Source§impl PartialEq for Continuity
impl PartialEq for Continuity
Source§fn eq(&self, other: &Continuity) -> bool
fn eq(&self, other: &Continuity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for Continuity
impl StructuralPartialEq for Continuity
Auto Trait Implementations§
impl Freeze for Continuity
impl RefUnwindSafe for Continuity
impl Send for Continuity
impl Sync for Continuity
impl Unpin for Continuity
impl UnsafeUnpin for Continuity
impl UnwindSafe for Continuity
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