pub enum Observation {
Observed,
Unobserved,
}Expand description
Whether a local value came from a live trace or a static inference. 局部值来自实时追踪还是静态推断。
Variants§
Observed
The value was captured while the traced code ran. 被追踪代码运行时捕获到的值。
Unobserved
The value is a static inference and was never seen at runtime. 由静态推断得出、运行时从未观测到的值。
Implementations§
Trait Implementations§
Source§impl Clone for Observation
impl Clone for Observation
impl Copy for Observation
Source§impl Debug for Observation
impl Debug for Observation
impl Eq for Observation
Source§impl PartialEq for Observation
impl PartialEq for Observation
impl StructuralPartialEq for Observation
Auto Trait Implementations§
impl Freeze for Observation
impl RefUnwindSafe for Observation
impl Send for Observation
impl Sync for Observation
impl Unpin for Observation
impl UnsafeUnpin for Observation
impl UnwindSafe for Observation
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