pub enum RemoveEditVariableError {
UnknownEditVariable,
InternalSolverError(InternalSolverError),
}Expand description
The possible error conditions that Solver::remove_edit_variable can fail with.
Variants§
UnknownEditVariable
The specified variable was not an edit variable in the solver, so cannot be removed.
InternalSolverError(InternalSolverError)
The solver entered an invalid state. If this occurs please report the issue. This variant specifies additional details as a string.
Trait Implementations§
Source§impl Clone for RemoveEditVariableError
impl Clone for RemoveEditVariableError
Source§fn clone(&self) -> RemoveEditVariableError
fn clone(&self) -> RemoveEditVariableError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RemoveEditVariableError
impl Debug for RemoveEditVariableError
Source§impl Display for RemoveEditVariableError
impl Display for RemoveEditVariableError
Source§impl Error for RemoveEditVariableError
impl Error for RemoveEditVariableError
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<InternalSolverError> for RemoveEditVariableError
impl From<InternalSolverError> for RemoveEditVariableError
Source§fn from(source: InternalSolverError) -> Self
fn from(source: InternalSolverError) -> Self
Converts to this type from the input type.
impl Copy for RemoveEditVariableError
Auto Trait Implementations§
impl Freeze for RemoveEditVariableError
impl RefUnwindSafe for RemoveEditVariableError
impl Send for RemoveEditVariableError
impl Sync for RemoveEditVariableError
impl Unpin for RemoveEditVariableError
impl UnwindSafe for RemoveEditVariableError
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