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