Struct hdp_core::processor::ProcessorResult
source · pub struct ProcessorResult {
pub task_results: Vec<String>,
pub task_commitments: Vec<String>,
pub task_inclusion_proofs: Vec<Vec<FixedBytes<32>>>,
pub results_inclusion_proofs: Vec<Vec<FixedBytes<32>>>,
pub results_root: String,
pub tasks_root: String,
pub used_mmr_id: u64,
pub used_mmr_size: u64,
}
Fields§
§task_results: Vec<String>
leaf of result merkle tree
task_commitments: Vec<String>
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: String
root of the results merkle tree
tasks_root: String
root of the tasks merkle tree
used_mmr_id: u64
mmr id
used_mmr_size: u64
mmr size
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