pub enum VerificationErrorDetail {
Show 16 variants
Tendermint(TendermintSubdetail),
HeaderFromTheFuture(HeaderFromTheFutureSubdetail),
NotEnoughTrust(NotEnoughTrustSubdetail),
InsufficientSignersOverlap(InsufficientSignersOverlapSubdetail),
DuplicateValidator(DuplicateValidatorSubdetail),
MissingSignature(MissingSignatureSubdetail),
InvalidSignature(InvalidSignatureSubdetail),
InvalidCommitValue(InvalidCommitValueSubdetail),
InvalidNextValidatorSet(InvalidNextValidatorSetSubdetail),
InvalidValidatorSet(InvalidValidatorSetSubdetail),
NonIncreasingHeight(NonIncreasingHeightSubdetail),
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)
NonMonotonicBftTime(NonMonotonicBftTimeSubdetail)
NotWithinTrustPeriod(NotWithinTrustPeriodSubdetail)
NoSignatureForCommit(NoSignatureForCommitSubdetail)
MismatchPreCommitLength(MismatchPreCommitLengthSubdetail)
FaultySigner(FaultySignerSubdetail)
Trait Implementations
sourceimpl Clone for VerificationErrorDetail
impl Clone for VerificationErrorDetail
sourcefn clone(&self) -> VerificationErrorDetail
fn clone(&self) -> VerificationErrorDetail
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for VerificationErrorDetail
impl Debug for VerificationErrorDetail
sourceimpl<'de> Deserialize<'de> for VerificationErrorDetail
impl<'de> Deserialize<'de> for VerificationErrorDetail
sourcefn 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
sourceimpl Display for VerificationErrorDetail
impl Display for VerificationErrorDetail
sourceimpl ErrorExt for VerificationErrorDetail
impl ErrorExt for VerificationErrorDetail
sourcefn 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. Read more
sourcefn 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. Read more
sourcefn is_timeout(&self) -> Option<Duration>
fn is_timeout(&self) -> Option<Duration>
Whether this error means that a timeout occured when
querying a node. Read more
sourceimpl PartialEq<VerificationErrorDetail> for VerificationErrorDetail
impl PartialEq<VerificationErrorDetail> for VerificationErrorDetail
sourcefn eq(&self, other: &VerificationErrorDetail) -> bool
fn eq(&self, other: &VerificationErrorDetail) -> bool
sourceimpl Serialize for VerificationErrorDetail
impl Serialize for VerificationErrorDetail
impl Eq for VerificationErrorDetail
impl StructuralEq for VerificationErrorDetail
impl StructuralPartialEq for VerificationErrorDetail
Auto Trait Implementations
impl RefUnwindSafe for VerificationErrorDetail
impl Send for VerificationErrorDetail
impl Sync for VerificationErrorDetail
impl Unpin for VerificationErrorDetail
impl UnwindSafe for VerificationErrorDetail
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more