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