pub struct WitnessDecoderError(/* private fields */);Expand description
An error when consensus decoding a Witness.
Trait Implementations§
Source§impl Clone for WitnessDecoderError
impl Clone for WitnessDecoderError
Source§fn clone(&self) -> WitnessDecoderError
fn clone(&self) -> WitnessDecoderError
Returns a duplicate 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 WitnessDecoderError
impl Debug for WitnessDecoderError
Source§impl Display for WitnessDecoderError
impl Display for WitnessDecoderError
Source§impl Error for WitnessDecoderError
Available on crate feature std only.
impl Error for WitnessDecoderError
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<Infallible> for WitnessDecoderError
impl From<Infallible> for WitnessDecoderError
Source§fn from(never: Infallible) -> Self
fn from(never: Infallible) -> Self
Converts to this type from the input type.
Source§impl From<WitnessDecoderError> for TransactionDecoderError
Available on crate feature alloc only.
impl From<WitnessDecoderError> for TransactionDecoderError
Available on crate feature
alloc only.Source§fn from(e: WitnessDecoderError) -> Self
fn from(e: WitnessDecoderError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WitnessDecoderError
impl PartialEq for WitnessDecoderError
impl Eq for WitnessDecoderError
impl StructuralPartialEq for WitnessDecoderError
Auto Trait Implementations§
impl Freeze for WitnessDecoderError
impl RefUnwindSafe for WitnessDecoderError
impl Send for WitnessDecoderError
impl Sync for WitnessDecoderError
impl Unpin for WitnessDecoderError
impl UnsafeUnpin for WitnessDecoderError
impl UnwindSafe for WitnessDecoderError
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