[][src]Struct miniscript::psbt::PsbtInputSatisfier

pub struct PsbtInputSatisfier<'psbt> {
    pub psbt: &'psbt Psbt,
    pub index: usize,
}

Psbt satisfier for at inputs at a particular index Takes in &psbt because multiple inputs will share the same psbt structure All operations on this structure will panic if index is more than number of inputs in pbst

Fields

psbt: &'psbt Psbt

pbst

index: usize

input index

Implementations

impl<'psbt> PsbtInputSatisfier<'psbt>[src]

pub fn new(psbt: &'psbt Psbt, index: usize) -> Self[src]

create a new PsbtInputsatisfier from psbt and index

Trait Implementations

impl<'psbt, Pk: MiniscriptKey + ToPublicKey> Satisfier<Pk> for PsbtInputSatisfier<'psbt>[src]

Auto Trait Implementations

impl<'psbt> RefUnwindSafe for PsbtInputSatisfier<'psbt>[src]

impl<'psbt> Send for PsbtInputSatisfier<'psbt>[src]

impl<'psbt> Sync for PsbtInputSatisfier<'psbt>[src]

impl<'psbt> Unpin for PsbtInputSatisfier<'psbt>[src]

impl<'psbt> UnwindSafe for PsbtInputSatisfier<'psbt>[src]

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, 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.