Struct tracing_forest::layer::TreeEvent
source · [−]pub struct TreeEvent {
pub tag: Option<TagData>,
pub message: Cow<'static, str>,
pub fields: SmallVec<[KeyValue; 3]>,
}
Expand description
Information unique to logged events.
Fields
tag: Option<TagData>
An optional tag that the event was collected with.
message: Cow<'static, str>
The message associated with the event.
fields: SmallVec<[KeyValue; 3]>
Key-value data.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TreeEvent
impl UnwindSafe for TreeEvent
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more