pub struct BlockHeightDecoderError(/* private fields */);Expand description
An error consensus decoding an BlockHeight.
Trait Implementations§
Source§impl Clone for BlockHeightDecoderError
impl Clone for BlockHeightDecoderError
Source§fn clone(&self) -> BlockHeightDecoderError
fn clone(&self) -> BlockHeightDecoderError
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 BlockHeightDecoderError
impl Debug for BlockHeightDecoderError
Source§impl Display for BlockHeightDecoderError
Available on crate feature encoding only.
impl Display for BlockHeightDecoderError
Available on crate feature
encoding only.Source§impl Error for BlockHeightDecoderError
Available on crate features std and encoding only.
impl Error for BlockHeightDecoderError
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 BlockHeightDecoderError
Available on crate feature encoding only.
impl From<Infallible> for BlockHeightDecoderError
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 BlockHeightDecoderError
impl PartialEq for BlockHeightDecoderError
impl Eq for BlockHeightDecoderError
impl StructuralPartialEq for BlockHeightDecoderError
Auto Trait Implementations§
impl Freeze for BlockHeightDecoderError
impl RefUnwindSafe for BlockHeightDecoderError
impl Send for BlockHeightDecoderError
impl Sync for BlockHeightDecoderError
impl Unpin for BlockHeightDecoderError
impl UnsafeUnpin for BlockHeightDecoderError
impl UnwindSafe for BlockHeightDecoderError
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