Enum tendermint_light_client::errors::ErrorDetail
source ·
[−]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
0: IoSubdetailNoPrimary(NoPrimarySubdetail)
Tuple Fields
NoWitnesses(NoWitnessesSubdetail)
Tuple Fields
NoWitnessesLeft(NoWitnessesLeftSubdetail)
Tuple Fields
ForkDetected(ForkDetectedSubdetail)
Tuple Fields
NoInitialTrustedState(NoInitialTrustedStateSubdetail)
Tuple Fields
NoTrustedState(NoTrustedStateSubdetail)
Tuple Fields
TargetLowerThanTrustedState(TargetLowerThanTrustedStateSubdetail)
Tuple Fields
TrustedStateOutsideTrustingPeriod(TrustedStateOutsideTrustingPeriodSubdetail)
Tuple Fields
BisectionFailed(BisectionFailedSubdetail)
Tuple Fields
InvalidLightBlock(InvalidLightBlockSubdetail)
Tuple Fields
InvalidAdjacentHeaders(InvalidAdjacentHeadersSubdetail)
Tuple Fields
MissingLastBlockId(MissingLastBlockIdSubdetail)
Tuple Fields
ChannelDisconnected(ChannelDisconnectedSubdetail)
Tuple Fields
Sled(SledSubdetail)
Tuple Fields
SerdeCbor(SerdeCborSubdetail)
Tuple Fields
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorDetail
impl Send for ErrorDetail
impl Sync for ErrorDetail
impl Unpin for ErrorDetail
impl UnwindSafe for ErrorDetail
Blanket Implementations
Mutably borrows from an owned value. Read more
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
