pub struct CompactTargetDecoderError(/* private fields */);Expand description
An error consensus decoding an CompactTarget.
Trait Implementations§
Source§impl Clone for CompactTargetDecoderError
impl Clone for CompactTargetDecoderError
Source§fn clone(&self) -> CompactTargetDecoderError
fn clone(&self) -> CompactTargetDecoderError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompactTargetDecoderError
impl Debug for CompactTargetDecoderError
Source§impl Display for CompactTargetDecoderError
Available on crate feature encoding only.
impl Display for CompactTargetDecoderError
Available on crate feature
encoding only.Source§impl Error for CompactTargetDecoderError
Available on crate features encoding and std only.
impl Error for CompactTargetDecoderError
Available on crate features
encoding and 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 CompactTargetDecoderError
Available on crate feature encoding only.
impl From<Infallible> for CompactTargetDecoderError
Available on crate feature
encoding only.Source§fn from(never: Infallible) -> Self
fn from(never: Infallible) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CompactTargetDecoderError
impl PartialEq for CompactTargetDecoderError
Source§fn eq(&self, other: &CompactTargetDecoderError) -> bool
fn eq(&self, other: &CompactTargetDecoderError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CompactTargetDecoderError
impl StructuralPartialEq for CompactTargetDecoderError
Auto Trait Implementations§
impl Freeze for CompactTargetDecoderError
impl RefUnwindSafe for CompactTargetDecoderError
impl Send for CompactTargetDecoderError
impl Sync for CompactTargetDecoderError
impl Unpin for CompactTargetDecoderError
impl UnsafeUnpin for CompactTargetDecoderError
impl UnwindSafe for CompactTargetDecoderError
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