[][src]Enum solana_libra_types::validator_verifier::VerifyError

pub enum VerifyError {
    UnknownAuthor,
    TooLittleVotingPower {
        voting_power: u64,
        quorum_voting_power: u64,
    },
    TooManySignatures {
        num_of_signatures: usize,
        num_of_authors: usize,
    },
    InvalidSignature,
}

Errors possible during signature verification.

Variants

UnknownAuthor

The author for this signature is unknown by this validator.

TooLittleVotingPower

Fields of TooLittleVotingPower

voting_power: u64quorum_voting_power: u64
TooManySignatures

Fields of TooManySignatures

num_of_signatures: usizenum_of_authors: usize
InvalidSignature

The signature does not match the hash.

Trait Implementations

impl PartialEq<VerifyError> for VerifyError[src]

impl Display for VerifyError[src]

impl Debug for VerifyError[src]

impl Fail for VerifyError[src]

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<E> Fail for E where
    E: 'static + Error + Send + Sync

impl<T> AsFail for T where
    T: Fail, 

impl<T> Same<T> for T

type Output = T

Should always be Self

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

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized