pub enum EvidenceKind {
Live,
Source,
Mir,
External,
Unknown,
}Expand description
Provenance of a relationship across runtime, MIR, and source evidence. 运行时、MIR 与源码证据共用的关系来源。
Variants§
Live
Confirmed by a live CallTrace observation.
Source
Candidate found by source analysis without runtime confirmation.
Mir
Candidate inferred from MIR; it may not have executed.
External
Supplied by an external adapter without a local trace.
Unknown
A relation whose producer is not known.
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 moreimpl Copy for EvidenceKind
Source§impl Debug for EvidenceKind
impl Debug for EvidenceKind
impl Eq for EvidenceKind
Source§impl PartialEq for EvidenceKind
impl PartialEq 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