Enum essential_check::solution::PredicatesError
source · pub enum PredicatesError<E> {
Failed(PredicateErrors<E>),
Join(JoinError),
UtilityOverflowed,
GasOverflowed,
}Expand description
check_predicates error.
Variants§
Failed(PredicateErrors<E>)
One or more solution data failed their associated predicate checks.
Join(JoinError)
One or more tasks failed to join.
UtilityOverflowed
Summing solution data utility resulted in overflow.
GasOverflowed
Summing solution data gas resulted in overflow.
Trait Implementations§
source§impl<E: Debug> Debug for PredicatesError<E>
impl<E: Debug> Debug for PredicatesError<E>
source§impl<E> Display for PredicatesError<E>where
PredicateErrors<E>: Display,
impl<E> Display for PredicatesError<E>where
PredicateErrors<E>: Display,
source§impl<E> Error for PredicatesError<E>
impl<E> Error for PredicatesError<E>
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<E> From<JoinError> for PredicatesError<E>
impl<E> From<JoinError> for PredicatesError<E>
source§impl<E> From<PredicateErrors<E>> for PredicatesError<E>
impl<E> From<PredicateErrors<E>> for PredicatesError<E>
source§fn from(source: PredicateErrors<E>) -> Self
fn from(source: PredicateErrors<E>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Freeze for PredicatesError<E>
impl<E> !RefUnwindSafe for PredicatesError<E>
impl<E> Send for PredicatesError<E>where
E: Send,
impl<E> Sync for PredicatesError<E>where
E: Sync,
impl<E> Unpin for PredicatesError<E>where
E: Unpin,
impl<E> !UnwindSafe for PredicatesError<E>
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more