[−][src]Struct win_etw_provider::EventOptions
Allows an application to override the parameters for an event. The first parameter of each
generated event method is options: Option<&EventOptions>
.
Fields
level: Option<Level>
Overrides the level of the event, if present. Each event method has a default, which can be
specified using (for example) #[event(level = "warn")]
. If the event declaration does not
specify a level, then the level will be Level::INFO
.
activity_id: Option<GUID>
Specifies the activity ID of this event.
Specifies a related activity ID for this event. This enables an application to indicate that two sets of events are related, by associating the activity IDs of the two sets. This is sometimes known as event correlation.
Trait Implementations
impl Default for EventOptions
[src]
fn default() -> EventOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for EventOptions
impl Send for EventOptions
impl Sync for EventOptions
impl Unpin for EventOptions
impl UnwindSafe for EventOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,