pub enum HeuristicError {
Rpc(Error),
Json(Error),
}Expand description
Errors that can occur during heuristic evaluation.
Variants§
Trait Implementations§
Source§impl Debug for HeuristicError
impl Debug for HeuristicError
Source§impl Display for HeuristicError
impl Display for HeuristicError
Source§impl Error for HeuristicError
impl Error for HeuristicError
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<Error> for HeuristicError
impl From<Error> for HeuristicError
Auto Trait Implementations§
impl !RefUnwindSafe for HeuristicError
impl !UnwindSafe for HeuristicError
impl Freeze for HeuristicError
impl Send for HeuristicError
impl Sync for HeuristicError
impl Unpin for HeuristicError
impl UnsafeUnpin for HeuristicError
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