#[non_exhaustive]pub enum EnabledError {
Interrupted(EvalError),
Unsupported(String),
Invalid(String),
}Expand description
Why ENABLED could not be decided. A refusal is never a decision.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Interrupted(EvalError)
A cooperative caller interruption, whose authority belongs to the driver.
Unsupported(String)
A named feature or context the validator does not decide.
Invalid(String)
A malformed state, or a TLC evaluation error raised by the search.
Implementations§
Trait Implementations§
Source§impl Clone for EnabledError
impl Clone for EnabledError
Source§impl Debug for EnabledError
impl Debug for EnabledError
Source§impl Display for EnabledError
impl Display for EnabledError
impl Eq for EnabledError
Source§impl Error for EnabledError
impl Error for EnabledError
1.30.0 · 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 PartialEq for EnabledError
impl PartialEq for EnabledError
impl StructuralPartialEq for EnabledError
Auto Trait Implementations§
impl Forget for EnabledError
impl Freeze for EnabledError
impl Move for EnabledError
impl RefUnwindSafe for EnabledError
impl Send for EnabledError
impl Sync for EnabledError
impl Unpin for EnabledError
impl UnsafeUnpin for EnabledError
impl UnwindSafe for EnabledError
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