[][src]Enum miniscript::interpreter::HashLockType

pub enum HashLockType<'intp> {
    Sha256(&'intp Hash),
    Hash256(&'intp Hash),
    Hash160(&'intp Hash),
    Ripemd160(&'intp Hash),
}

Type of HashLock used for SatisfiedConstraint structure

Variants

Sha256(&'intp Hash)

SHA 256 hashlock

Hash256(&'intp Hash)

Hash 256 hashlock

Hash160(&'intp Hash)

Hash160 hashlock

Ripemd160(&'intp Hash)

Ripemd160 hashlock

Trait Implementations

impl<'intp> Clone for HashLockType<'intp>[src]

impl<'intp> Copy for HashLockType<'intp>[src]

impl<'intp> Debug for HashLockType<'intp>[src]

impl<'intp> Eq for HashLockType<'intp>[src]

impl<'intp> PartialEq<HashLockType<'intp>> for HashLockType<'intp>[src]

impl<'intp> StructuralEq for HashLockType<'intp>[src]

impl<'intp> StructuralPartialEq for HashLockType<'intp>[src]

Auto Trait Implementations

impl<'intp> RefUnwindSafe for HashLockType<'intp>

impl<'intp> Send for HashLockType<'intp>

impl<'intp> Sync for HashLockType<'intp>

impl<'intp> Unpin for HashLockType<'intp>

impl<'intp> UnwindSafe for HashLockType<'intp>

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