pub struct MerkleRootEvent {
pub root_id: u8,
pub digest: [u8; 32],
}
Expand description
A table representing the final step of comparing the claimed root.
Fields§
§root_id: u8
§digest: [u8; 32]
Implementations§
Source§impl MerkleRootEvent
impl MerkleRootEvent
pub fn fire( &self, node_channel: &mut Channel<NodeFlushToken>, root_channel: &mut Channel<RootFlushToken>, )
Trait Implementations§
Source§impl Clone for MerkleRootEvent
impl Clone for MerkleRootEvent
Source§fn clone(&self) -> MerkleRootEvent
fn clone(&self) -> MerkleRootEvent
Returns a copy of the value. Read more
1.0.0 · 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 MerkleRootEvent
impl Debug for MerkleRootEvent
Source§impl Hash for MerkleRootEvent
impl Hash for MerkleRootEvent
Source§impl PartialEq for MerkleRootEvent
impl PartialEq for MerkleRootEvent
impl Copy for MerkleRootEvent
impl Eq for MerkleRootEvent
impl StructuralPartialEq for MerkleRootEvent
Auto Trait Implementations§
impl Freeze for MerkleRootEvent
impl RefUnwindSafe for MerkleRootEvent
impl Send for MerkleRootEvent
impl Sync for MerkleRootEvent
impl Unpin for MerkleRootEvent
impl UnwindSafe for MerkleRootEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more