pub enum VerificationErrorDetail {
Show 17 variants
Tendermint(TendermintSubdetail),
HeaderFromTheFuture(HeaderFromTheFutureSubdetail),
NotEnoughTrust(NotEnoughTrustSubdetail),
InsufficientSignersOverlap(InsufficientSignersOverlapSubdetail),
DuplicateValidator(DuplicateValidatorSubdetail),
MissingSignature(MissingSignatureSubdetail),
InvalidSignature(InvalidSignatureSubdetail),
InvalidCommitValue(InvalidCommitValueSubdetail),
InvalidNextValidatorSet(InvalidNextValidatorSetSubdetail),
InvalidValidatorSet(InvalidValidatorSetSubdetail),
NonIncreasingHeight(NonIncreasingHeightSubdetail),
ChainIdMismatch(ChainIdMismatchSubdetail),
NonMonotonicBftTime(NonMonotonicBftTimeSubdetail),
NotWithinTrustPeriod(NotWithinTrustPeriodSubdetail),
NoSignatureForCommit(NoSignatureForCommitSubdetail),
MismatchPreCommitLength(MismatchPreCommitLengthSubdetail),
FaultySigner(FaultySignerSubdetail),
}Variants§
Tendermint(TendermintSubdetail)
HeaderFromTheFuture(HeaderFromTheFutureSubdetail)
NotEnoughTrust(NotEnoughTrustSubdetail)
InsufficientSignersOverlap(InsufficientSignersOverlapSubdetail)
DuplicateValidator(DuplicateValidatorSubdetail)
MissingSignature(MissingSignatureSubdetail)
InvalidSignature(InvalidSignatureSubdetail)
InvalidCommitValue(InvalidCommitValueSubdetail)
InvalidNextValidatorSet(InvalidNextValidatorSetSubdetail)
InvalidValidatorSet(InvalidValidatorSetSubdetail)
NonIncreasingHeight(NonIncreasingHeightSubdetail)
ChainIdMismatch(ChainIdMismatchSubdetail)
NonMonotonicBftTime(NonMonotonicBftTimeSubdetail)
NotWithinTrustPeriod(NotWithinTrustPeriodSubdetail)
NoSignatureForCommit(NoSignatureForCommitSubdetail)
MismatchPreCommitLength(MismatchPreCommitLengthSubdetail)
FaultySigner(FaultySignerSubdetail)
Trait Implementations§
Source§impl Clone for VerificationErrorDetail
impl Clone for VerificationErrorDetail
Source§fn clone(&self) -> VerificationErrorDetail
fn clone(&self) -> VerificationErrorDetail
Returns a duplicate 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 VerificationErrorDetail
impl Debug for VerificationErrorDetail
Source§impl<'de> Deserialize<'de> for VerificationErrorDetail
impl<'de> Deserialize<'de> for VerificationErrorDetail
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 VerificationErrorDetail
impl Display for VerificationErrorDetail
Source§impl ErrorExt for VerificationErrorDetail
impl ErrorExt for VerificationErrorDetail
Source§fn not_enough_trust(&self) -> Option<VotingPowerTally>
fn not_enough_trust(&self) -> Option<VotingPowerTally>
Whether this error means that the light block
cannot be trusted w.r.t. the latest trusted state.
Source§fn has_expired(&self) -> bool
fn has_expired(&self) -> bool
Whether this error means that the light block has expired,
ie. it’s outside of the trusting period.
Source§fn is_timeout(&self) -> Option<Duration>
fn is_timeout(&self) -> Option<Duration>
Whether this error means that a timeout occurred when
querying a node.
Source§fn is_height_too_high(&self) -> bool
fn is_height_too_high(&self) -> bool
Whether the height of the requested light block is higher than the
latest height available on the node.
Source§impl PartialEq for VerificationErrorDetail
impl PartialEq for VerificationErrorDetail
Source§impl Serialize for VerificationErrorDetail
impl Serialize for VerificationErrorDetail
impl Eq for VerificationErrorDetail
impl StructuralPartialEq for VerificationErrorDetail
Auto Trait Implementations§
impl Freeze for VerificationErrorDetail
impl RefUnwindSafe for VerificationErrorDetail
impl Send for VerificationErrorDetail
impl Sync for VerificationErrorDetail
impl Unpin for VerificationErrorDetail
impl UnwindSafe for VerificationErrorDetail
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