Enum wallet::descriptor::DeductionError[][src]

pub enum DeductionError {
    IncompleteInformation,
    UnsupportedWitnessVersion(WitnessVersion),
}

Errors that happens during Category::deduce process

Variants

IncompleteInformation

For P2SH scripts we need to know whether it is created for the witness-containing spending transaction input, i.e. whether its redeem script will have a witness structure, or not. If this information was not provided, this error is returned.

UnsupportedWitnessVersion(WitnessVersion)

Here we support only version 0 and 1 of the witness, otherwise this error is returned

Trait Implementations

impl Clone for DeductionError[src]

impl Copy for DeductionError[src]

impl Debug for DeductionError[src]

impl Display for DeductionError[src]

impl Eq for DeductionError[src]

impl Error for DeductionError[src]

impl Hash for DeductionError[src]

impl Ord for DeductionError[src]

impl PartialEq<DeductionError> for DeductionError[src]

impl PartialOrd<DeductionError> for DeductionError[src]

impl StructuralEq for DeductionError[src]

impl StructuralPartialEq for DeductionError[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> 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.