Enum tendermint_light_client::errors::ErrorDetail[][src]

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

Tuple Fields of Io

0: IoSubdetail

Tuple Fields of NoPrimary

0: NoPrimarySubdetail

Tuple Fields of NoWitnesses

0: NoWitnessesSubdetail
NoWitnessesLeft(NoWitnessesLeftSubdetail)

Tuple Fields of NoWitnessesLeft

0: NoWitnessesLeftSubdetail
ForkDetected(ForkDetectedSubdetail)

Tuple Fields of ForkDetected

0: ForkDetectedSubdetail
NoInitialTrustedState(NoInitialTrustedStateSubdetail)

Tuple Fields of NoInitialTrustedState

0: NoInitialTrustedStateSubdetail
NoTrustedState(NoTrustedStateSubdetail)

Tuple Fields of NoTrustedState

0: NoTrustedStateSubdetail
TargetLowerThanTrustedState(TargetLowerThanTrustedStateSubdetail)

Tuple Fields of TargetLowerThanTrustedState

0: TargetLowerThanTrustedStateSubdetail
TrustedStateOutsideTrustingPeriod(TrustedStateOutsideTrustingPeriodSubdetail)

Tuple Fields of TrustedStateOutsideTrustingPeriod

0: TrustedStateOutsideTrustingPeriodSubdetail
BisectionFailed(BisectionFailedSubdetail)

Tuple Fields of BisectionFailed

0: BisectionFailedSubdetail
InvalidLightBlock(InvalidLightBlockSubdetail)

Tuple Fields of InvalidLightBlock

0: InvalidLightBlockSubdetail
InvalidAdjacentHeaders(InvalidAdjacentHeadersSubdetail)

Tuple Fields of InvalidAdjacentHeaders

0: InvalidAdjacentHeadersSubdetail
MissingLastBlockId(MissingLastBlockIdSubdetail)

Tuple Fields of MissingLastBlockId

0: MissingLastBlockIdSubdetail
ChannelDisconnected(ChannelDisconnectedSubdetail)

Tuple Fields of ChannelDisconnected

0: ChannelDisconnectedSubdetail

Tuple Fields of Sled

0: SledSubdetail

Tuple Fields of SerdeCbor

0: SerdeCborSubdetail

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