Enum cashweb::relay::stamp::StampError[][src]

pub enum StampError {
    Decode(DecodeError),
    MissingOutput,
    NotP2PKH,
    UnexpectedAddress(Vec<u8, Global>, Vec<u8, Global>),
    DegenerateCombination,
    ChildNumberOverflow,
    UnsupportedStampType,
    NoneType,
}

Error associated with verification of stamps.

Variants

Decode(DecodeError)

Failed to decode a transaction.

MissingOutput

A specified stamp output doesn't exist.

NotP2PKH

A specified stamp output was not a pay-to-pubkey-hash.

UnexpectedAddress(Vec<u8, Global>, Vec<u8, Global>)

A specified stamp output contained an unexpected address.

DegenerateCombination

Combination of public keys was degenerate.

ChildNumberOverflow

Child numbers given caused an overflow.

UnsupportedStampType

Unsupported stamp type.

NoneType

Stamp type was None.

Trait Implementations

impl Clone for StampError[src]

impl Debug for StampError[src]

impl Display for StampError[src]

impl Eq for StampError[src]

impl Error for StampError[src]

impl PartialEq<StampError> for StampError[src]

impl StructuralEq for StampError[src]

impl StructuralPartialEq for StampError[src]

Auto Trait Implementations

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<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument 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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,