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