pub enum PsetHash {
Ripemd,
Sha256,
Hash160,
Hash256,
}Expand description
Enum for marking pset hash error
Variants§
Ripemd
Bad preimage for RIPEMD160 hash.
Sha256
Bad preimage for SHA256 hash.
Hash160
Bad preimage for RIPEMD160-SHA256 hash.
Hash256
Bad preimage for double-SHA256 hash.
Trait Implementations§
impl Copy for PsetHash
impl Eq for PsetHash
impl StructuralPartialEq for PsetHash
Auto Trait Implementations§
impl Freeze for PsetHash
impl RefUnwindSafe for PsetHash
impl Send for PsetHash
impl Sync for PsetHash
impl Unpin for PsetHash
impl UnsafeUnpin for PsetHash
impl UnwindSafe for PsetHash
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