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§impl Debug for VersionDecoderError
impl Debug for VersionDecoderError
Source§impl Display for VersionDecoderError
Available on crate feature encoding only.
impl Display for VersionDecoderError
Available on crate feature
encoding only.impl Eq for VersionDecoderError
Source§impl Error for VersionDecoderError
Available on crate features encoding and std only.
impl Error for VersionDecoderError
Available on crate features
encoding 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<!> for VersionDecoderError
Available on crate feature encoding only.
impl From<!> for VersionDecoderError
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 VersionDecoderError
impl PartialEq 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