pub enum GetChainTxStatsError {
Numeric(NumericError),
WindowFinalBlockHash(HexToArrayError),
}Expand description
Error when converting a GetChainTxStats type into the model type.
Variants§
Numeric(NumericError)
Conversion of numeric type to expected type failed.
WindowFinalBlockHash(HexToArrayError)
Conversion of the window_final_block_hash field failed.
Trait Implementations§
Source§impl Debug for GetChainTxStatsError
impl Debug for GetChainTxStatsError
Source§impl Display for GetChainTxStatsError
impl Display for GetChainTxStatsError
Source§impl Error for GetChainTxStatsError
Available on crate feature std only.
impl Error for GetChainTxStatsError
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<NumericError> for GetChainTxStatsError
impl From<NumericError> for GetChainTxStatsError
Source§fn from(e: NumericError) -> GetChainTxStatsError
fn from(e: NumericError) -> GetChainTxStatsError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetChainTxStatsError
impl RefUnwindSafe for GetChainTxStatsError
impl Send for GetChainTxStatsError
impl Sync for GetChainTxStatsError
impl Unpin for GetChainTxStatsError
impl UnsafeUnpin for GetChainTxStatsError
impl UnwindSafe for GetChainTxStatsError
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