[−][src]Crate win_etw_provider
Enables Rust apps to report events using Event Tracing for Windows.
See About Event Tracing.
Re-exports
pub use win_etw_metadata as metadata; |
Macros
guid | Initializes a |
Structs
EtwProvider | Implements |
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 |
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 |
FILETIME | See |
GUID | The Windows |
Level | Predefined event tracing levels |
NullProvider | Implements |
SocketAddrV4 | This has the same in-memory representation as the Win32 SOCKADDR_IN structure. https://docs.microsoft.com/en-us/windows/win32/api/ws2def/ns-ws2def-sockaddr_in |
SocketAddrV6 | See |
Enums
Error | Errors returned by |
Constants
AF_INET | The value used in |
AF_INET6 | The value used in |
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). |