Skip to main content

ProofWorkerResult

Type Alias ProofWorkerResult 

Source
pub type ProofWorkerResult = Result<DecodedMultiProofV2, StateRootTaskError>;
Expand description

A message received from ProofWorkerHandle::results: the outcome of one queued job, or a worker’s failure to start.

A storage job yields the storage proof of a single account and no account proofs. An account job yields account proofs and no storage proofs. A failed job does not stop its worker.

Aliased Type§

pub enum ProofWorkerResult {
    Ok(DecodedMultiProofV2),
    Err(StateRootTaskError),
}

Variants§

§1.0.0

Ok(DecodedMultiProofV2)

Contains the success value

§1.0.0

Err(StateRootTaskError)

Contains the error value

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.