Enum tendermint::error::Kind [−][src]
pub enum Kind {}Show variants
Crypto, InvalidKey, UnsupportedKeyType, Io, Length, Parse, Protocol, OutOfRange, SignatureInvalid, InvalidMessageType, NegativeHeight, NegativeRound, NegativePolRound, NegativeValidatorIndex, InvalidHashSize, NoTimestamp, InvalidTimestamp, InvalidAccountIdLength, InvalidSignatureIdLength, IntegerOverflow, NoVoteFound, NoProposalFound, InvalidAppHashLength, InvalidPartSetHeader, MissingHeader, MissingData, MissingEvidence, MissingTimestamp, InvalidBlock, InvalidFirstBlock, MissingVersion, InvalidHeader, InvalidFirstHeader, InvalidSignature, InvalidValidatorAddress, InvalidSignedHeader, InvalidEvidence, BlockIdFlag, NegativePower, RawVotingPowerMismatch { raw: Power, computed: Power, }, MissingPublicKey, InvalidValidatorParams, InvalidVersionParams, NegativeMaxAgeNum, MissingMaxAgeDuration, ProposerNotFound(Id),
Expand description
Kinds of errors
Variants
Cryptographic operation failed
Malformatted or otherwise invalid cryptographic key
Unsupported public key type.
Input/output error
Length incorrect or too long
Parse error
Network protocol-related errors
Value out-of-range
Signature invalid
invalid message type
Negative block height
Negative voting round
Negative POL round
Negative validator index in vote
Invalid hash size in part_set_header
No timestamp in vote or block header
Invalid timestamp
Invalid account ID length
Invalid signature ID length
Overflow during conversion
No Vote found during conversion
No Proposal found during conversion
Invalid AppHash length found during conversion
Invalid PartSetHeader
Missing Header in Block
Missing Data in Block
Missing Evidence in Block
Missing Timestamp in Block
Invalid Block
Invalid first Block
Missing Version field
Invalid Header
Invalid first Header
Invalid signature in CommitSig
Invalid validator address in CommitSig
Invalid Signed Header
Invalid Evidence
Invalid BlockIdFlag
Negative voting power
Mismatch between raw voting power and computed one in validator set
Show fields
Missing Public Key
Invalid validator parameters
Invalid version parameters
Negative max_age_num_blocks in Evidence parameters
Missing max_age_duration in evidence parameters
ProposerNotFound(Id)
Proposer not found in validator set
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Kind
impl UnwindSafe for Kind
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V