pub struct EffectTrace {
pub effects: Vec<Effect>,
pub instret: u64,
pub capped: bool,
pub coverage: f32,
}Expand description
The full result of micro-executing one function.
Fields§
§effects: Vec<Effect>§instret: u64instructions retired before we stopped
capped: booldid we cut it off (loop/instr/time)
coverage: f32fraction of the function’s own code bytes we actually executed, in [0,1]. advisory confidence signal: a low value means most of the body sat behind branches microexecution never took, so the print reflects little observed behavior. surfaced to the analyst; not used to gate a verdict (complex input-driven functions legitimately run almost none of their body).
Implementations§
Source§impl EffectTrace
impl EffectTrace
Trait Implementations§
Source§impl Clone for EffectTrace
impl Clone for EffectTrace
Source§fn clone(&self) -> EffectTrace
fn clone(&self) -> EffectTrace
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 EffectTrace
impl Debug for EffectTrace
Source§impl<'de> Deserialize<'de> for EffectTrace
impl<'de> Deserialize<'de> for EffectTrace
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
Auto Trait Implementations§
impl Freeze for EffectTrace
impl RefUnwindSafe for EffectTrace
impl Send for EffectTrace
impl Sync for EffectTrace
impl Unpin for EffectTrace
impl UnsafeUnpin for EffectTrace
impl UnwindSafe for EffectTrace
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