pub enum TraceEvent {
ConfigSet {
widget_id: String,
nonce: u64,
bytes: usize,
changed: bool,
skip: Option<SkipReason>,
},
Write {
transport: String,
ok: bool,
duration_ms: u32,
error: Option<String>,
},
Reload {
performed: bool,
reason: ReloadOutcome,
},
Poll {
count: usize,
},
Render {
instance: String,
nonce: u64,
source: String,
trigger: String,
lag_ms: u64,
skipped: Vec<SkippedElement>,
},
}Expand description
One journal entry.
Variants§
ConfigSet
Host applied (or skipped) a config write.
Fields
§
skip: Option<SkipReason>Present when the write was skipped.
Write
A transport write finished.
Fields
Reload
Native / WidgetKit reload attempt.
Poll
Host drained pending actions.
Render
Native / desktop surface painted.
Trait Implementations§
Source§impl Clone for TraceEvent
impl Clone for TraceEvent
Source§fn clone(&self) -> TraceEvent
fn clone(&self) -> TraceEvent
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 TraceEvent
impl Debug for TraceEvent
Source§impl<'de> Deserialize<'de> for TraceEvent
impl<'de> Deserialize<'de> for TraceEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TraceEvent
impl PartialEq for TraceEvent
Source§impl Serialize for TraceEvent
impl Serialize for TraceEvent
impl StructuralPartialEq for TraceEvent
Auto Trait Implementations§
impl Freeze for TraceEvent
impl RefUnwindSafe for TraceEvent
impl Send for TraceEvent
impl Sync for TraceEvent
impl Unpin for TraceEvent
impl UnsafeUnpin for TraceEvent
impl UnwindSafe for TraceEvent
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