pub enum ConstraintModelError {
BuildError(String),
ConstraintModelError(String),
SearchTreeError {
source: SearchTreeError,
},
StateModelError {
source: StateModelError,
},
}Variants§
BuildError(String)
ConstraintModelError(String)
SearchTreeError
Fields
§
source: SearchTreeErrorStateModelError
Fields
§
source: StateModelErrorTrait Implementations§
Source§impl Debug for ConstraintModelError
impl Debug for ConstraintModelError
Source§impl Display for ConstraintModelError
impl Display for ConstraintModelError
Source§impl Error for ConstraintModelError
impl Error for ConstraintModelError
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<ConstraintModelError> for CompassConfigurationError
impl From<ConstraintModelError> for CompassConfigurationError
Source§fn from(source: ConstraintModelError) -> Self
fn from(source: ConstraintModelError) -> Self
Converts to this type from the input type.
Source§impl From<ConstraintModelError> for SearchError
impl From<ConstraintModelError> for SearchError
Source§fn from(source: ConstraintModelError) -> Self
fn from(source: ConstraintModelError) -> Self
Converts to this type from the input type.
Source§impl From<SearchTreeError> for ConstraintModelError
impl From<SearchTreeError> for ConstraintModelError
Source§fn from(source: SearchTreeError) -> Self
fn from(source: SearchTreeError) -> Self
Converts to this type from the input type.
Source§impl From<StateModelError> for ConstraintModelError
impl From<StateModelError> for ConstraintModelError
Source§fn from(source: StateModelError) -> Self
fn from(source: StateModelError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConstraintModelError
impl !RefUnwindSafe for ConstraintModelError
impl Send for ConstraintModelError
impl Sync for ConstraintModelError
impl Unpin for ConstraintModelError
impl UnsafeUnpin for ConstraintModelError
impl !UnwindSafe for ConstraintModelError
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