#[repr(u8)]
pub enum Sighash {
All,
None,
Single,
AllAcp,
NoneAcp,
SingleAcp,
}
Expand description
All possible Sighash modes
Variants
All
Sign ALL inputs and ALL outputs
None
Sign ALL inputs and NO outputs (unsupported)
Single
Sign ALL inputs and ONE output
AllAcp
Sign ONE inputs and ALL outputs
NoneAcp
Sign ONE inputs and NO outputs (unsupported)
SingleAcp
Sign ONE inputs and ONE output
Implementations
Trait Implementations
impl Copy for Sighash
impl Eq for Sighash
impl StructuralEq for Sighash
impl StructuralPartialEq for Sighash
Auto Trait Implementations
impl RefUnwindSafe for Sighash
impl Send for Sighash
impl Sync for Sighash
impl Unpin for Sighash
impl UnwindSafe for Sighash
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more