pub enum InvalidPredicate {
Slots(InvalidSlots),
Directive(InvalidDirective),
StateReads(InvalidStateReads),
Constraints(InvalidConstraints),
}Expand description
check error indicating part of a predicate was invalid.
Variants§
Slots(InvalidSlots)
The predicate’s slots are invalid.
Directive(InvalidDirective)
The predicate’s directive is invalid.
StateReads(InvalidStateReads)
The predicate’s state reads are invalid.
Constraints(InvalidConstraints)
The predicate’s constraints are invalid.
Trait Implementations§
source§impl Debug for InvalidPredicate
impl Debug for InvalidPredicate
source§impl Display for InvalidPredicate
impl Display for InvalidPredicate
source§impl Error for InvalidPredicate
impl Error for InvalidPredicate
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 From<InvalidConstraints> for InvalidPredicate
impl From<InvalidConstraints> for InvalidPredicate
source§fn from(source: InvalidConstraints) -> Self
fn from(source: InvalidConstraints) -> Self
Converts to this type from the input type.
source§impl From<InvalidDirective> for InvalidPredicate
impl From<InvalidDirective> for InvalidPredicate
source§fn from(source: InvalidDirective) -> Self
fn from(source: InvalidDirective) -> Self
Converts to this type from the input type.
source§impl From<InvalidSlots> for InvalidPredicate
impl From<InvalidSlots> for InvalidPredicate
source§fn from(source: InvalidSlots) -> Self
fn from(source: InvalidSlots) -> Self
Converts to this type from the input type.
source§impl From<InvalidStateReads> for InvalidPredicate
impl From<InvalidStateReads> for InvalidPredicate
source§fn from(source: InvalidStateReads) -> Self
fn from(source: InvalidStateReads) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidPredicate
impl RefUnwindSafe for InvalidPredicate
impl Send for InvalidPredicate
impl Sync for InvalidPredicate
impl Unpin for InvalidPredicate
impl UnwindSafe for InvalidPredicate
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