pub enum EventFieldValue {
String(String),
IpAddr(IpAddr),
U8(u8),
U16(u16),
U32(u32),
U64(u64),
I32(i32),
I64(i64),
Bool(bool),
Guid(GUID),
Binary(Vec<u8>),
Pointer(u64),
}Expand description
Typed value for a schema-decoded ETW field.
Variants§
String(String)
UTF-8 string value.
IpAddr(IpAddr)
IP address value (IPv4 or IPv6).
U8(u8)
Unsigned 8-bit integer.
U16(u16)
Unsigned 16-bit integer.
U32(u32)
Unsigned 32-bit integer.
U64(u64)
Unsigned 64-bit integer.
I32(i32)
Signed 32-bit integer.
I64(i64)
Signed 64-bit integer.
Bool(bool)
Boolean value.
Guid(GUID)
GUID value.
Binary(Vec<u8>)
Opaque binary payload.
Pointer(u64)
Pointer-sized address represented as u64.
Trait Implementations§
Source§impl Clone for EventFieldValue
impl Clone for EventFieldValue
Source§fn clone(&self) -> EventFieldValue
fn clone(&self) -> EventFieldValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EventFieldValue
impl RefUnwindSafe for EventFieldValue
impl Send for EventFieldValue
impl Sync for EventFieldValue
impl Unpin for EventFieldValue
impl UnsafeUnpin for EventFieldValue
impl UnwindSafe for EventFieldValue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more