Enum essential_check::solution::PredicateError
source · pub enum PredicateError<E> {
OpsFromBytesError(FromBytesError),
StateRead(StateReadError<E>),
Constraints(PredicateConstraintsError),
}
Expand description
check_predicate
error.
Variants§
OpsFromBytesError(FromBytesError)
Failed to parse ops from bytecode during bytecode mapping.
StateRead(StateReadError<E>)
Failed to read state.
Constraints(PredicateConstraintsError)
Constraint checking failed.
Trait Implementations§
source§impl<E: Debug> Debug for PredicateError<E>
impl<E: Debug> Debug for PredicateError<E>
source§impl<E> Display for PredicateError<E>where
StateReadError<E>: Display,
impl<E> Display for PredicateError<E>where
StateReadError<E>: Display,
source§impl<E> Error for PredicateError<E>
impl<E> Error for PredicateError<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<FromBytesError> for PredicateError<E>
impl<E> From<FromBytesError> for PredicateError<E>
source§fn from(source: FromBytesError) -> Self
fn from(source: FromBytesError) -> Self
Converts to this type from the input type.
source§impl<E> From<PredicateConstraintsError> for PredicateError<E>
impl<E> From<PredicateConstraintsError> for PredicateError<E>
source§fn from(source: PredicateConstraintsError) -> Self
fn from(source: PredicateConstraintsError) -> Self
Converts to this type from the input type.
source§impl<E> From<StateReadError<E>> for PredicateError<E>
impl<E> From<StateReadError<E>> for PredicateError<E>
source§fn from(source: StateReadError<E>) -> Self
fn from(source: StateReadError<E>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Freeze for PredicateError<E>where
E: Freeze,
impl<E> !RefUnwindSafe for PredicateError<E>
impl<E> Send for PredicateError<E>where
E: Send,
impl<E> Sync for PredicateError<E>where
E: Sync,
impl<E> Unpin for PredicateError<E>where
E: Unpin,
impl<E> !UnwindSafe for PredicateError<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