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