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<EffectTrace, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EffectTrace, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for EffectTrace
impl Serialize for EffectTrace
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more