[][src]Enum lnpbp::bp::resolvers::MatchError

pub enum MatchError {
    NoInputTx(usize),
    NoTxidMatch(usizeTxid),
    UnmatchingInputNumber(usize),
    WrongInputNo(usize),
}

Errors happening when PSBT or other resolver information does not match the structure of bitcoin transaction

Variants

NoInputTx(usize)

No witness_utxo and non_witness_utxo is provided for input {0}

NoTxidMatch(usizeTxid)

Provided non_witness_utxo {_1} does not match transaction input {0}

UnmatchingInputNumber(usize)

Number of transaction inputs does not match number of the provided PSBT input data for input {0}

WrongInputNo(usize)

Transaciton has less than {0} inputs

Trait Implementations

impl Clone for MatchError[src]

impl Copy for MatchError[src]

impl Debug for MatchError[src]

impl Display for MatchError[src]

impl Eq for MatchError[src]

impl Error for MatchError[src]

impl From<MatchError> for String[src]

impl From<MatchError> for FeeError[src]

impl Hash for MatchError[src]

impl PartialEq<MatchError> for MatchError[src]

impl StructuralEq for MatchError[src]

impl StructuralPartialEq for MatchError[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<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> 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>,