pub enum NodeInfoError {
SerdeJsonError(Error),
UnsupportedVersion,
}Expand description
Errors that can occur when serializing or deserializing nodeinfo JSON.
Variants§
Trait Implementations§
Source§impl Debug for NodeInfoError
impl Debug for NodeInfoError
Source§impl Display for NodeInfoError
impl Display for NodeInfoError
Source§impl Error for NodeInfoError
impl Error for NodeInfoError
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()
Auto Trait Implementations§
impl Freeze for NodeInfoError
impl !RefUnwindSafe for NodeInfoError
impl Send for NodeInfoError
impl Sync for NodeInfoError
impl Unpin for NodeInfoError
impl !UnwindSafe for NodeInfoError
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