pub struct HotPath {
pub stack: String,
pub gas: u64,
pub percentage: f64,
pub category: GasCategory,
pub source_hint: Option<SourceHint>,
}Expand description
A hot path in the execution (stack trace with gas)
Fields§
§stack: StringCollapsed stack representation (e.g., “main;execute;storage_read”)
gas: u64Gas consumed by this path
percentage: f64Percentage of total gas
category: GasCategoryGas category derived from the leaf node of the stack. Computed server-side so the frontend doesn’t need heuristics.
source_hint: Option<SourceHint>Source hint (if debug symbols available)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HotPath
impl<'de> Deserialize<'de> for HotPath
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 HotPath
impl RefUnwindSafe for HotPath
impl Send for HotPath
impl Sync for HotPath
impl Unpin for HotPath
impl UnsafeUnpin for HotPath
impl UnwindSafe for HotPath
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