#[non_exhaustive]pub enum EvidenceKind {
ExactLsp,
Extracted,
ResolvedCanonical,
Inferred,
Conflict,
Parsed,
Resolved,
Manifest,
Literal,
Toolchain,
Runtime,
Custom(String),
}Expand description
Origin of the evidence supporting an edge.
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.
ExactLsp
Extracted
ResolvedCanonical
Inferred
Conflict
Parsed
Resolved
Manifest
Literal
Toolchain
Runtime
Custom(String)
Implementations§
Trait Implementations§
Source§impl Clone for EvidenceKind
impl Clone for EvidenceKind
Source§fn clone(&self) -> EvidenceKind
fn clone(&self) -> EvidenceKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EvidenceKind
impl Debug for EvidenceKind
Source§impl<'de> Deserialize<'de> for EvidenceKind
impl<'de> Deserialize<'de> for EvidenceKind
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for EvidenceKind
impl Display for EvidenceKind
impl Eq for EvidenceKind
Source§impl FromStr for EvidenceKind
impl FromStr for EvidenceKind
Source§impl Hash for EvidenceKind
impl Hash for EvidenceKind
Source§impl Ord for EvidenceKind
impl Ord for EvidenceKind
Source§fn cmp(&self, other: &EvidenceKind) -> Ordering
fn cmp(&self, other: &EvidenceKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EvidenceKind
impl PartialEq for EvidenceKind
Source§impl PartialOrd for EvidenceKind
impl PartialOrd for EvidenceKind
Source§impl Serialize for EvidenceKind
impl Serialize for EvidenceKind
impl StructuralPartialEq for EvidenceKind
Auto Trait Implementations§
impl Freeze for EvidenceKind
impl RefUnwindSafe for EvidenceKind
impl Send for EvidenceKind
impl Sync for EvidenceKind
impl Unpin for EvidenceKind
impl UnsafeUnpin for EvidenceKind
impl UnwindSafe for EvidenceKind
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