pub enum Certainty {
Certain,
Conditional(String),
Unknown(String),
}Expand description
Certainty attached to a node that exists but may be conditional.
Distinct from Resolved: that answers “did the lookup succeed”, this answers “does this
thing definitely exist at runtime”.
Variants§
Certain
Unconditionally present.
Conditional(String)
Present only under a condition the analyzer could not evaluate (a config-dependent
bias, an Option field, a branch).
Unknown(String)
The analyzer could not model the construct at all; reported so the hole is visible.
Implementations§
Trait Implementations§
impl Eq for Certainty
impl StructuralPartialEq for Certainty
Auto Trait Implementations§
impl Freeze for Certainty
impl RefUnwindSafe for Certainty
impl Send for Certainty
impl Sync for Certainty
impl Unpin for Certainty
impl UnsafeUnpin for Certainty
impl UnwindSafe for Certainty
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