[][src]Crate win_etw_provider

Enables Rust apps to report events using Event Tracing for Windows.

See About Event Tracing.

Macros

guid

Initializes a GUID from literal values.

Structs

EtwProvider

Implements Provider by registering with ETW.

EventDataDescriptor

Contains a reference to the data for an event field. The type of the data is not specified in this structure; instead, the type of the data is stored in the event's metadata. (See win_etw_metadata::InFlag.)

EventDescriptor

Describes parameters for an event. This is an implementation detail, and should not be directly used by applications.

EventOptions

Allows an application to override the parameters for an event. The first parameter of each generated event method is options: Option<&EventOptions>.

GUID

The Windows GUID type.

Level

Predefined event tracing levels

NullProvider

Implements Provider by discarding all events.

Enums

Error

Errors returned by win_etw_provider functions.

Traits

Provider

Describes the functions needed for an event provider backend. This is an implementation detail, and should not be used directly by applications.

Functions

with_activity

Allows an application to enter a nested activity scope. This creates a new activity ID, sets this activity ID as the current activity ID of the current thread, and then runs the provided function. After the function finishes, it restores the activity ID of the calling thread (even if a panic occurs).