pub enum Fault {
Invalid(String),
Missing(String),
Conflict(String),
Absent(String),
}Expand description
Why evaluation produced no value; becomes the step’s unresolved reason.
Variants§
Invalid(String)
Overflow, division by zero, an out-of-range timestamp.
Missing(String)
A missing fact, e.g. fx.rates.EUR.
Conflict(String)
Two different values for one fact.
Absent(String)
A read of an absent value or a null field, naming its path
(spec 032, 3.4.4); only plan 3 values can be absent.
Trait Implementations§
impl Eq for Fault
Source§impl From<ArithError> for Fault
impl From<ArithError> for Fault
Source§fn from(e: ArithError) -> Self
fn from(e: ArithError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Fault
Auto Trait Implementations§
impl Freeze for Fault
impl RefUnwindSafe for Fault
impl Send for Fault
impl Sync for Fault
impl Unpin for Fault
impl UnsafeUnpin for Fault
impl UnwindSafe for Fault
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