#[non_exhaustive]pub enum TemporalError {
Interrupted(EvalError),
Invalid(String),
Unsupported(String),
}Expand description
Why temporal evaluation cannot establish a truth value.
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 typed cooperative interruption, never a temporal truth value/refusal.
Invalid(String)
The word or a predicate is malformed.
Unsupported(String)
A named feature cannot be decided independently yet.
Trait Implementations§
Source§impl Clone for TemporalError
impl Clone for TemporalError
Source§impl Debug for TemporalError
impl Debug for TemporalError
Source§impl Display for TemporalError
impl Display for TemporalError
impl Eq for TemporalError
Source§impl Error for TemporalError
impl Error for TemporalError
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 From<EvalError> for TemporalError
impl From<EvalError> for TemporalError
Source§impl PartialEq for TemporalError
impl PartialEq for TemporalError
impl StructuralPartialEq for TemporalError
Auto Trait Implementations§
impl Forget for TemporalError
impl Freeze for TemporalError
impl Move for TemporalError
impl RefUnwindSafe for TemporalError
impl Send for TemporalError
impl Sync for TemporalError
impl Unpin for TemporalError
impl UnsafeUnpin for TemporalError
impl UnwindSafe for TemporalError
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