pub enum ChainTipsError {
Numeric(NumericError),
Hash(HexToArrayError),
}
Expand description
Error when converting a ChainTips
type into the model type.
Variants§
Numeric(NumericError)
Conversion of numeric type to expected type failed.
Hash(HexToArrayError)
Conversion of the hash
field failed.
Trait Implementations§
Source§impl Debug for ChainTipsError
impl Debug for ChainTipsError
Source§impl Display for ChainTipsError
impl Display for ChainTipsError
Source§impl Error for ChainTipsError
impl Error for ChainTipsError
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<NumericError> for ChainTipsError
impl From<NumericError> for ChainTipsError
Source§fn from(e: NumericError) -> Self
fn from(e: NumericError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ChainTipsError
impl RefUnwindSafe for ChainTipsError
impl Send for ChainTipsError
impl Sync for ChainTipsError
impl Unpin for ChainTipsError
impl UnwindSafe for ChainTipsError
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