Struct hdp_processor::ProcessorResult
source · pub struct ProcessorResult {
pub raw_results: Vec<B256>,
pub results_commitments: Vec<B256>,
pub tasks_commitments: Vec<B256>,
pub task_inclusion_proofs: Vec<Vec<FixedBytes<32>>>,
pub results_inclusion_proofs: Vec<Vec<FixedBytes<32>>>,
pub results_root: B256,
pub tasks_root: B256,
pub mmr_metas: Vec<MMRMeta>,
}
Fields§
§raw_results: Vec<B256>
raw results of the module
results_commitments: Vec<B256>
leaf of result merkle tree
tasks_commitments: Vec<B256>
leaf of task merkle tree
task_inclusion_proofs: Vec<Vec<FixedBytes<32>>>
tasks inclusion proofs
results_inclusion_proofs: Vec<Vec<FixedBytes<32>>>
results inclusion proofs
results_root: B256
root of the results merkle tree
tasks_root: B256
root of the tasks merkle tree
mmr_metas: Vec<MMRMeta>
mmr metas related to processed tasks
Implementations§
Trait Implementations§
source§impl Debug for ProcessorResult
impl Debug for ProcessorResult
Auto Trait Implementations§
impl Freeze for ProcessorResult
impl RefUnwindSafe for ProcessorResult
impl Send for ProcessorResult
impl Sync for ProcessorResult
impl Unpin for ProcessorResult
impl UnwindSafe for ProcessorResult
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§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