pub struct PluginTraceRecord {
pub plugin: u32,
pub seam: PluginSeam,
pub direction: Direction,
pub call: Cow<'static, str>,
pub level: TraceLevel,
pub outcome: TraceOutcome,
pub detail: Option<String>,
}Expand description
One boundary event. Structured (not a pre-formatted line) so the view owns
presentation and filters key on fields. plugin is the host-issued id (the
same id SourceLayer::Plugin / Event::PluginCrashed.plugin carry), so
Layer-0 crash rows and Layer-1 trace rows join cleanly.
Fields§
§plugin: u32§seam: PluginSeam§direction: Direction§call: Cow<'static, str>The WIT function name (e.g. "apply-motion").
level: TraceLevel§outcome: TraceOutcome§detail: Option<String>Arg / result summary, populated only above a verbosity threshold (kept
None on the hot path when tracing is off — design §4).
Trait Implementations§
Source§impl Clone for PluginTraceRecord
impl Clone for PluginTraceRecord
Source§fn clone(&self) -> PluginTraceRecord
fn clone(&self) -> PluginTraceRecord
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 moreAuto Trait Implementations§
impl Freeze for PluginTraceRecord
impl RefUnwindSafe for PluginTraceRecord
impl Send for PluginTraceRecord
impl Sync for PluginTraceRecord
impl Unpin for PluginTraceRecord
impl UnsafeUnpin for PluginTraceRecord
impl UnwindSafe for PluginTraceRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more