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.
由一次实时 CallTrace 观测确认。
Source
Candidate found by source analysis without runtime confirmation. 源码分析找到、未经运行期确认的候选。
Mir
Candidate inferred from MIR; it may not have executed. 由 MIR 推断出的候选;它可能并未执行。
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