logo
pub enum ErrorDetail {
Show 16 variants Io(IoSubdetail), NoPrimary(NoPrimarySubdetail), NoWitnesses(NoWitnessesSubdetail), NoWitnessesLeft(NoWitnessesLeftSubdetail), ForkDetected(ForkDetectedSubdetail), NoInitialTrustedState(NoInitialTrustedStateSubdetail), NoTrustedState(NoTrustedStateSubdetail), TargetLowerThanTrustedState(TargetLowerThanTrustedStateSubdetail), TrustedStateOutsideTrustingPeriod(TrustedStateOutsideTrustingPeriodSubdetail), BisectionFailed(BisectionFailedSubdetail), InvalidLightBlock(InvalidLightBlockSubdetail), InvalidAdjacentHeaders(InvalidAdjacentHeadersSubdetail), MissingLastBlockId(MissingLastBlockIdSubdetail), ChannelDisconnected(ChannelDisconnectedSubdetail), Sled(SledSubdetail), SerdeCbor(SerdeCborSubdetail),
}

Variants

Io(IoSubdetail)

Tuple Fields

NoPrimary(NoPrimarySubdetail)

Tuple Fields

NoWitnesses(NoWitnessesSubdetail)

Tuple Fields

NoWitnessesLeft(NoWitnessesLeftSubdetail)

Tuple Fields

ForkDetected(ForkDetectedSubdetail)

Tuple Fields

NoInitialTrustedState(NoInitialTrustedStateSubdetail)

NoTrustedState(NoTrustedStateSubdetail)

Tuple Fields

TargetLowerThanTrustedState(TargetLowerThanTrustedStateSubdetail)

TrustedStateOutsideTrustingPeriod(TrustedStateOutsideTrustingPeriodSubdetail)

BisectionFailed(BisectionFailedSubdetail)

Tuple Fields

InvalidLightBlock(InvalidLightBlockSubdetail)

InvalidAdjacentHeaders(InvalidAdjacentHeadersSubdetail)

MissingLastBlockId(MissingLastBlockIdSubdetail)

ChannelDisconnected(ChannelDisconnectedSubdetail)

Sled(SledSubdetail)

Tuple Fields

SerdeCbor(SerdeCborSubdetail)

Tuple Fields

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Whether this error means that a timeout occured when querying a node.

Whether this error means that the light block cannot be trusted w.r.t. the latest trusted state. Read more

Whether this error means that the light block has expired, ie. it’s outside of the trusting period. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more