pub enum EventValue {
String(String),
U16(u16),
U64(u64),
}Expand description
Opaque value type for trace event info dictionaries.
Variants§
String(String)
A string value.
U16(u16)
A u16 value (e.g. status code, port).
U64(u64)
A u64 value (e.g. delay in milliseconds).
Trait Implementations§
Source§impl Clone for EventValue
impl Clone for EventValue
Source§fn clone(&self) -> EventValue
fn clone(&self) -> EventValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EventValue
impl Debug for EventValue
Source§impl PartialEq for EventValue
impl PartialEq for EventValue
impl StructuralPartialEq for EventValue
Auto Trait Implementations§
impl Freeze for EventValue
impl RefUnwindSafe for EventValue
impl Send for EventValue
impl Sync for EventValue
impl Unpin for EventValue
impl UnsafeUnpin for EventValue
impl UnwindSafe for EventValue
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