pub struct NonStandardSighashTypeError(pub u32);
Expand description
This type is consensus valid but an input including it would prevent the transaction from being relayed on today’s Bitcoin network.
Tuple Fields§
§0: u32
Trait Implementations§
Source§impl Clone for NonStandardSighashTypeError
impl Clone for NonStandardSighashTypeError
Source§fn clone(&self) -> NonStandardSighashTypeError
fn clone(&self) -> NonStandardSighashTypeError
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 NonStandardSighashTypeError
impl Debug for NonStandardSighashTypeError
Source§impl Error for NonStandardSighashTypeError
Available on crate feature std
only.
impl Error for NonStandardSighashTypeError
Available on crate feature
std
only.Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<NonStandardSighashTypeError> for Error
impl From<NonStandardSighashTypeError> for Error
Source§fn from(e: NonStandardSighashTypeError) -> Self
fn from(e: NonStandardSighashTypeError) -> Self
Converts to this type from the input type.
impl Eq for NonStandardSighashTypeError
impl StructuralPartialEq for NonStandardSighashTypeError
Auto Trait Implementations§
impl Freeze for NonStandardSighashTypeError
impl RefUnwindSafe for NonStandardSighashTypeError
impl Send for NonStandardSighashTypeError
impl Sync for NonStandardSighashTypeError
impl Unpin for NonStandardSighashTypeError
impl UnwindSafe for NonStandardSighashTypeError
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