Enum ethcore::trace::Tracing [−][src]
pub enum Tracing { Enabled(Vec<FlatTransactionTraces>), Disabled, }
Container for block traces.
Variants
Enabled(Vec<FlatTransactionTraces>)
This variant should be used when tracing is enabled.
Disabled
Tracing is disabled.
Methods
impl Tracing
[src]
impl Tracing
pub fn enabled() -> Self
[src]
pub fn enabled() -> Self
Creates new instance of enabled tracing object.
pub fn is_enabled(&self) -> bool
[src]
pub fn is_enabled(&self) -> bool
Returns true if tracing is enabled.
pub fn drain(self) -> Vec<FlatTransactionTraces>
[src]
pub fn drain(self) -> Vec<FlatTransactionTraces>
Drain all traces.