pub struct TracingResult {
pub retriggers: HashSet<(Address, StoreKey)>,
pub accessed_slots: HashMap<Address, HashSet<StoreKey>>,
}Fields§
§retriggers: HashSet<(Address, StoreKey)>A set of (address, storage slot) pairs representing state that contain a called address. If any of these storage slots change, the execution path might change.
accessed_slots: HashMap<Address, HashSet<StoreKey>>A map of all addresses that were called during the trace with a list of storage slots that were accessed.
Implementations§
Trait Implementations§
Source§impl Clone for TracingResult
impl Clone for TracingResult
Source§fn clone(&self) -> TracingResult
fn clone(&self) -> TracingResult
Returns a duplicate of the value. Read more
1.0.0 · 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 TracingResult
impl Debug for TracingResult
Source§impl Default for TracingResult
impl Default for TracingResult
Source§fn default() -> TracingResult
fn default() -> TracingResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TracingResult
impl<'de> Deserialize<'de> for TracingResult
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
Source§impl From<TracingResult> for TracingResult
impl From<TracingResult> for TracingResult
Source§fn from(value: TracingResult) -> Self
fn from(value: TracingResult) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TracingResult
impl PartialEq for TracingResult
Source§impl Serialize for TracingResult
impl Serialize for TracingResult
impl StructuralPartialEq for TracingResult
Auto Trait Implementations§
impl Freeze for TracingResult
impl RefUnwindSafe for TracingResult
impl Send for TracingResult
impl Sync for TracingResult
impl Unpin for TracingResult
impl UnwindSafe for TracingResult
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