pub struct Warning {
pub origin: Origin,
pub blocked_by: Vec<String>,
pub hint: Option<String>,
}Expand description
A constraint that could not be checked because a needed atom is UNKNOWN.
Fields§
§origin: OriginProvenance of the constraint that could not be checked.
blocked_by: Vec<String>Human labels of the UNKNOWN atoms blocking the check.
hint: Option<String>A directed fix for the most informative blocking atom, distinguishing the
two reasons a check stays blocked: the atom is a free input nothing can
determine (→ add a FACT/NOT, or make a PREMISE a RULE so it derives
the value), versus the atom is derivable by a RULE that has not fired
(→ assert that rule’s antecedent). Advisory text; never changes the verdict.
Trait Implementations§
impl Eq for Warning
impl StructuralPartialEq for Warning
Auto Trait Implementations§
impl Freeze for Warning
impl RefUnwindSafe for Warning
impl Send for Warning
impl Sync for Warning
impl Unpin for Warning
impl UnsafeUnpin for Warning
impl UnwindSafe for Warning
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