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 · 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 std and encoding only.
impl Error for CompactTargetDecoderError
Available on crate features
std and encoding 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.
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