[][src]Struct win_etw_provider::EtwProvider

pub struct EtwProvider {}

Implements Provider by registering with ETW.

Implementations

impl EtwProvider[src]

pub fn new(provider_id: &GUID) -> Result<EtwProvider, Error>[src]

Registers an event provider with ETW.

The implementation uses [EventWriteEx](https://docs.microsoft.com/en-us/windows/win32/api/evntprov/nf-evntprov-eventwriteex).

pub fn register_provider_metadata(
    &mut self,
    provider_metadata: &'static [u8]
) -> Result<(), Error>
[src]

See TraceLoggingRegisterEx in traceloggingprovider.h. This registers provider metadata.

Trait Implementations

impl Drop for EtwProvider[src]

impl Provider for EtwProvider[src]

impl Sync for EtwProvider[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.