EventId
struct · ferroui-headless-vnc · v0.5.0
struct EventId
Identifies a logging event. The primary identifier is the id property,
with the name property providing a short description of this type of
event.
Members
new
fn new(id: i32) -> Self
Initializes an instance of the EventId struct.
with_name
fn with_name(id: i32, name: Option<&str>) -> Self
Initializes an instance of the EventId struct with a name.
id
fn id(self: &Self) -> i32
Gets the numeric identifier for this event.
name
fn name(self: &Self) -> Option<&str>
Gets the name of this event.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedToStringResourceKeyObjectPropertyValueAnyValueClassDefaultsSameCloneDebugDefaultStructuralPartialEqPartialEqEqHashDisplayErasedDestructorIntoEither
Availability
Extracted for x86_64-unknown-linux-gnu, aarch64-apple-darwin. Cargo features are listed in the crate index.