[][src]Enum tendermint_light_client::components::verifier::Verdict

pub enum Verdict {
    Success,
    NotEnoughTrust(VerificationError),
    Invalid(VerificationError),
}

Represents the result of the verification performed by the verifier component.

Variants

Success

Verification succeeded, the block is valid.

NotEnoughTrust(VerificationError)

The minimum voting power threshold is not reached, the block cannot be trusted yet.

Verification failed, the block is invalid.

Trait Implementations

impl Debug for Verdict[src]

impl From<Result<(), VerificationError>> for Verdict[src]

Auto Trait Implementations

impl RefUnwindSafe for Verdict

impl Send for Verdict

impl Sync for Verdict

impl Unpin for Verdict

impl UnwindSafe for Verdict

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,