Struct tendermint_light_client::predicates::errors::VerificationError [−][src]
pub struct VerificationError(pub VerificationErrorDetail, pub DefaultTracer);Tuple Fields
0: VerificationErrorDetail1: DefaultTracerImplementations
pub fn add_trace<E: Display>(self, message: &E) -> Self where
DefaultTracer: ErrorMessageTracer,
pub fn trace_from<E, Cont>(source: E::Source, cont: Cont) -> Self where
E: ErrorSource<DefaultTracer>,
DefaultTracer: ErrorMessageTracer,
Cont: FnOnce(E::Detail) -> VerificationErrorDetail,
pub fn invalid_signature(
signature: Vec<u8>,
validator: Box<Validator>,
sign_bytes: Vec<u8>
) -> VerificationError
pub fn invalid_next_validator_set(
header_next_validators_hash: Hash,
next_validators_hash: Hash
) -> VerificationError
pub fn invalid_validator_set(
header_validators_hash: Hash,
validators_hash: Hash
) -> VerificationError
pub fn non_monotonic_bft_time(
header_bft_time: Time,
trusted_header_bft_time: Time
) -> VerificationError
pub fn mismatch_pre_commit_length(
pre_commit_length: usize,
validator_length: usize
) -> VerificationError
Trait Implementations
impl Error for VerificationError where
VerificationErrorDetail: Display,
DefaultTracer: Debug + Display,
DefaultTracer: ErrorMessageTracer,
impl Error for VerificationError where
VerificationErrorDetail: Display,
DefaultTracer: Debug + Display,
DefaultTracer: ErrorMessageTracer,
type Source = Self
type Source = Self
The type of the error source.
type Detail = VerificationErrorDetail
type Detail = VerificationErrorDetail
The type of the error detail that can be extracted from the error source
Extracts the error details out from the error source, together with an optional error trace. Read more
Auto Trait Implementations
impl !RefUnwindSafe for VerificationError
impl Send for VerificationError
impl Sync for VerificationError
impl Unpin for VerificationError
impl !UnwindSafe for VerificationError
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