pub enum ErrorDetail {
Show 68 variants
Crypto(CryptoSubdetail),
InvalidKey(InvalidKeySubdetail),
Length(LengthSubdetail),
Parse(ParseSubdetail),
ParseInt(ParseIntSubdetail),
Protocol(ProtocolSubdetail),
DateOutOfRange(DateOutOfRangeSubdetail),
DurationOutOfRange(DurationOutOfRangeSubdetail),
EmptySignature(EmptySignatureSubdetail),
SignatureInvalid(SignatureInvalidSubdetail),
InvalidMessageType(InvalidMessageTypeSubdetail),
NegativeHeight(NegativeHeightSubdetail),
NegativeRound(NegativeRoundSubdetail),
NegativePolRound(NegativePolRoundSubdetail),
NegativeValidatorIndex(NegativeValidatorIndexSubdetail),
InvalidHashSize(InvalidHashSizeSubdetail),
NonZeroTimestamp(NonZeroTimestampSubdetail),
InvalidAccountIdLength(InvalidAccountIdLengthSubdetail),
InvalidSignatureIdLength(InvalidSignatureIdLengthSubdetail),
IntegerOverflow(IntegerOverflowSubdetail),
TimestampNanosOutOfRange(TimestampNanosOutOfRangeSubdetail),
TimestampConversion(TimestampConversionSubdetail),
NoVoteFound(NoVoteFoundSubdetail),
NoProposalFound(NoProposalFoundSubdetail),
InvalidAppHashLength(InvalidAppHashLengthSubdetail),
InvalidPartSetHeader(InvalidPartSetHeaderSubdetail),
MissingHeader(MissingHeaderSubdetail),
MissingData(MissingDataSubdetail),
MissingEvidence(MissingEvidenceSubdetail),
MissingTimestamp(MissingTimestampSubdetail),
MissingVersion(MissingVersionSubdetail),
MissingMaxAgeDuration(MissingMaxAgeDurationSubdetail),
MissingPublicKey(MissingPublicKeySubdetail),
MissingValidator(MissingValidatorSubdetail),
MissingLastCommitInfo(MissingLastCommitInfoSubdetail),
MissingGenesisTime(MissingGenesisTimeSubdetail),
MissingConsensusParams(MissingConsensusParamsSubdetail),
InvalidTimestamp(InvalidTimestampSubdetail),
InvalidBlock(InvalidBlockSubdetail),
InvalidFirstHeader(InvalidFirstHeaderSubdetail),
InvalidSignature(InvalidSignatureSubdetail),
InvalidValidatorAddress(InvalidValidatorAddressSubdetail),
InvalidSignedHeader(InvalidSignedHeaderSubdetail),
InvalidEvidence(InvalidEvidenceSubdetail),
InvalidValidatorParams(InvalidValidatorParamsSubdetail),
InvalidVersionParams(InvalidVersionParamsSubdetail),
InvalidAbciRequestType(InvalidAbciRequestTypeSubdetail),
InvalidAbciResponseType(InvalidAbciResponseTypeSubdetail),
BlockIdFlag(BlockIdFlagSubdetail),
NegativePower(NegativePowerSubdetail),
UnsupportedKeyType(UnsupportedKeyTypeSubdetail),
UnsupportedCheckTxType(UnsupportedCheckTxTypeSubdetail),
UnsupportedApplySnapshotChunkResult(UnsupportedApplySnapshotChunkResultSubdetail),
UnsupportedOfferSnapshotChunkResult(UnsupportedOfferSnapshotChunkResultSubdetail),
UnsupportedProcessProposalStatus(UnsupportedProcessProposalStatusSubdetail),
UnsupportedVerifyVoteExtensionStatus(UnsupportedVerifyVoteExtensionStatusSubdetail),
NegativeMaxAgeNum(NegativeMaxAgeNumSubdetail),
ProposerNotFound(ProposerNotFoundSubdetail),
TimeParse(TimeParseSubdetail),
SubtleEncoding(SubtleEncodingSubdetail),
Signature(SignatureSubdetail),
TrustThresholdTooLarge(TrustThresholdTooLargeSubdetail),
UndefinedTrustThreshold(UndefinedTrustThresholdSubdetail),
TrustThresholdTooSmall(TrustThresholdTooSmallSubdetail),
NegativeProofTotal(NegativeProofTotalSubdetail),
NegativeProofIndex(NegativeProofIndexSubdetail),
TotalVotingPowerMismatch(TotalVotingPowerMismatchSubdetail),
TotalVotingPowerOverflow(TotalVotingPowerOverflowSubdetail),
}
Variants§
Crypto(CryptoSubdetail)
InvalidKey(InvalidKeySubdetail)
Length(LengthSubdetail)
Parse(ParseSubdetail)
ParseInt(ParseIntSubdetail)
Protocol(ProtocolSubdetail)
DateOutOfRange(DateOutOfRangeSubdetail)
DurationOutOfRange(DurationOutOfRangeSubdetail)
EmptySignature(EmptySignatureSubdetail)
SignatureInvalid(SignatureInvalidSubdetail)
InvalidMessageType(InvalidMessageTypeSubdetail)
NegativeHeight(NegativeHeightSubdetail)
NegativeRound(NegativeRoundSubdetail)
NegativePolRound(NegativePolRoundSubdetail)
NegativeValidatorIndex(NegativeValidatorIndexSubdetail)
InvalidHashSize(InvalidHashSizeSubdetail)
NonZeroTimestamp(NonZeroTimestampSubdetail)
InvalidAccountIdLength(InvalidAccountIdLengthSubdetail)
InvalidSignatureIdLength(InvalidSignatureIdLengthSubdetail)
IntegerOverflow(IntegerOverflowSubdetail)
TimestampNanosOutOfRange(TimestampNanosOutOfRangeSubdetail)
TimestampConversion(TimestampConversionSubdetail)
NoVoteFound(NoVoteFoundSubdetail)
NoProposalFound(NoProposalFoundSubdetail)
InvalidAppHashLength(InvalidAppHashLengthSubdetail)
InvalidPartSetHeader(InvalidPartSetHeaderSubdetail)
MissingHeader(MissingHeaderSubdetail)
MissingData(MissingDataSubdetail)
MissingEvidence(MissingEvidenceSubdetail)
MissingTimestamp(MissingTimestampSubdetail)
MissingVersion(MissingVersionSubdetail)
MissingMaxAgeDuration(MissingMaxAgeDurationSubdetail)
MissingPublicKey(MissingPublicKeySubdetail)
MissingValidator(MissingValidatorSubdetail)
MissingLastCommitInfo(MissingLastCommitInfoSubdetail)
MissingGenesisTime(MissingGenesisTimeSubdetail)
MissingConsensusParams(MissingConsensusParamsSubdetail)
InvalidTimestamp(InvalidTimestampSubdetail)
InvalidBlock(InvalidBlockSubdetail)
InvalidFirstHeader(InvalidFirstHeaderSubdetail)
InvalidSignature(InvalidSignatureSubdetail)
InvalidValidatorAddress(InvalidValidatorAddressSubdetail)
InvalidSignedHeader(InvalidSignedHeaderSubdetail)
InvalidEvidence(InvalidEvidenceSubdetail)
InvalidValidatorParams(InvalidValidatorParamsSubdetail)
InvalidVersionParams(InvalidVersionParamsSubdetail)
InvalidAbciRequestType(InvalidAbciRequestTypeSubdetail)
InvalidAbciResponseType(InvalidAbciResponseTypeSubdetail)
BlockIdFlag(BlockIdFlagSubdetail)
NegativePower(NegativePowerSubdetail)
UnsupportedKeyType(UnsupportedKeyTypeSubdetail)
UnsupportedCheckTxType(UnsupportedCheckTxTypeSubdetail)
UnsupportedApplySnapshotChunkResult(UnsupportedApplySnapshotChunkResultSubdetail)
UnsupportedOfferSnapshotChunkResult(UnsupportedOfferSnapshotChunkResultSubdetail)
UnsupportedProcessProposalStatus(UnsupportedProcessProposalStatusSubdetail)
UnsupportedVerifyVoteExtensionStatus(UnsupportedVerifyVoteExtensionStatusSubdetail)
NegativeMaxAgeNum(NegativeMaxAgeNumSubdetail)
ProposerNotFound(ProposerNotFoundSubdetail)
TimeParse(TimeParseSubdetail)
SubtleEncoding(SubtleEncodingSubdetail)
Signature(SignatureSubdetail)
TrustThresholdTooLarge(TrustThresholdTooLargeSubdetail)
UndefinedTrustThreshold(UndefinedTrustThresholdSubdetail)
TrustThresholdTooSmall(TrustThresholdTooSmallSubdetail)
NegativeProofTotal(NegativeProofTotalSubdetail)
NegativeProofIndex(NegativeProofIndexSubdetail)
TotalVotingPowerMismatch(TotalVotingPowerMismatchSubdetail)
TotalVotingPowerOverflow(TotalVotingPowerOverflowSubdetail)
Trait Implementations§
Source§impl Clone for ErrorDetail
impl Clone for ErrorDetail
Source§fn clone(&self) -> ErrorDetail
fn clone(&self) -> ErrorDetail
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ErrorDetail
impl Debug for ErrorDetail
Source§impl<'de> Deserialize<'de> for ErrorDetail
impl<'de> Deserialize<'de> for ErrorDetail
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ErrorDetail
impl Display for ErrorDetail
Source§impl PartialEq for ErrorDetail
impl PartialEq for ErrorDetail
Source§impl Serialize for ErrorDetail
impl Serialize for ErrorDetail
impl Eq for ErrorDetail
impl StructuralPartialEq 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