pub struct UserTrace { /* private fields */ }
Expand description
A user trace session
To stop the session, you can drop this instance
Implementations§
Trait Implementations§
source§impl TraceTrait for UserTrace
impl TraceTrait for UserTrace
fn trace_handle(&self) -> TraceHandle
fn trace_name(&self) -> OsString
fn events_handled(&self) -> usize
fn trace_guid() -> GUID
source§fn process(&mut self) -> Result<(), TraceError>
fn process(&mut self) -> Result<(), TraceError>
This is blocking and starts triggerring the callbacks. Read more
source§fn process_from_handle(handle: TraceHandle) -> Result<(), TraceError>
fn process_from_handle(handle: TraceHandle) -> Result<(), TraceError>
Process a trace given its handle. Read more