pub enum WaitForBlockHeightError {
Numeric(NumericError),
Hash(HexToArrayError),
}Expand description
Error when converting a WaitForBlockHeight 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 WaitForBlockHeightError
impl Debug for WaitForBlockHeightError
Source§impl Display for WaitForBlockHeightError
impl Display for WaitForBlockHeightError
Source§impl Error for WaitForBlockHeightError
Available on crate feature std only.
impl Error for WaitForBlockHeightError
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 WaitForBlockHeightError
impl From<NumericError> for WaitForBlockHeightError
Source§fn from(e: NumericError) -> WaitForBlockHeightError
fn from(e: NumericError) -> WaitForBlockHeightError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WaitForBlockHeightError
impl RefUnwindSafe for WaitForBlockHeightError
impl Send for WaitForBlockHeightError
impl Sync for WaitForBlockHeightError
impl Unpin for WaitForBlockHeightError
impl UnsafeUnpin for WaitForBlockHeightError
impl UnwindSafe for WaitForBlockHeightError
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