pub trait FrameTraceInfo {
// Required methods
fn gas_left(&self) -> u64;
fn weight_consumed(&self) -> Weight;
fn last_frame_output(&self) -> Bytes;
}Expand description
Interface to provide frame trace information for the current execution frame.
Required Methods§
Sourcefn weight_consumed(&self) -> Weight
fn weight_consumed(&self) -> Weight
Returns how much weight was spent
Sourcefn last_frame_output(&self) -> Bytes
fn last_frame_output(&self) -> Bytes
Get the output from the last frame.