pub enum ErrorDetail {
Io(IoSubdetail),
LightClient(LightClientSubdetail),
NoDivergence(NoDivergenceSubdetail),
Divergence(DivergenceSubdetail),
NoWitnesses(NoWitnessesSubdetail),
BadWitness(BadWitnessSubdetail),
TargetBlockLowerThanTrusted(TargetBlockLowerThanTrustedSubdetail),
TrustedHashDifferentFromSourceFirstBlock(TrustedHashDifferentFromSourceFirstBlockSubdetail),
TraceTooShort(TraceTooShortSubdetail),
TraceBlockAfterTargetBlock(TraceBlockAfterTargetBlockSubdetail),
FailedHeaderCrossReferencing(FailedHeaderCrossReferencingSubdetail),
}
Expand description
All the possible error variants.
Variants§
Io(IoSubdetail)
LightClient(LightClientSubdetail)
NoDivergence(NoDivergenceSubdetail)
Divergence(DivergenceSubdetail)
NoWitnesses(NoWitnessesSubdetail)
BadWitness(BadWitnessSubdetail)
TargetBlockLowerThanTrusted(TargetBlockLowerThanTrustedSubdetail)
TrustedHashDifferentFromSourceFirstBlock(TrustedHashDifferentFromSourceFirstBlockSubdetail)
TraceTooShort(TraceTooShortSubdetail)
TraceBlockAfterTargetBlock(TraceBlockAfterTargetBlockSubdetail)
FailedHeaderCrossReferencing(FailedHeaderCrossReferencingSubdetail)
Trait Implementations§
source§impl Debug for ErrorDetail
impl Debug for ErrorDetail
Auto Trait Implementations§
impl Freeze for ErrorDetail
impl RefUnwindSafe for ErrorDetail
impl Send for ErrorDetail
impl Sync for ErrorDetail
impl Unpin for ErrorDetail
impl UnwindSafe for ErrorDetail
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