Enum miniscript::interpreter::HashLockType
source · pub enum HashLockType {
Sha256(Hash),
Hash256(Hash),
Hash160(Hash),
Ripemd160(Hash),
}
Expand description
Type of HashLock used for SatisfiedConstraint structure
Variants§
Sha256(Hash)
SHA 256 hashlock
Hash256(Hash)
Hash 256 hashlock
Hash160(Hash)
Hash160 hashlock
Ripemd160(Hash)
Ripemd160 hashlock
Trait Implementations§
source§impl Clone for HashLockType
impl Clone for HashLockType
source§fn clone(&self) -> HashLockType
fn clone(&self) -> HashLockType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HashLockType
impl Debug for HashLockType
source§impl Hash for HashLockType
impl Hash for HashLockType
source§impl PartialEq for HashLockType
impl PartialEq for HashLockType
impl Copy for HashLockType
impl Eq for HashLockType
impl StructuralPartialEq for HashLockType
Auto Trait Implementations§
impl Freeze for HashLockType
impl RefUnwindSafe for HashLockType
impl Send for HashLockType
impl Sync for HashLockType
impl Unpin for HashLockType
impl UnwindSafe for HashLockType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)