pub struct WriteEventParams<'a, E, T, MS> {
pub event: E,
pub tags: &'a [T],
pub metatags: MS,
pub pid: Koid,
pub tid: Koid,
pub dropped: u64,
}
Expand description
Parameters for Encoder/write_event
.
Fields§
§event: E
The event to write as a record.
Tags associated with the log event.
Metatags associated with the log event.
pid: Koid
The process that emitted the log.
tid: Koid
The thread that emitted the log.
dropped: u64
Number of events that were dropped before this one.
Auto Trait Implementations§
impl<'a, E, T, MS> Freeze for WriteEventParams<'a, E, T, MS>
impl<'a, E, T, MS> RefUnwindSafe for WriteEventParams<'a, E, T, MS>
impl<'a, E, T, MS> Send for WriteEventParams<'a, E, T, MS>
impl<'a, E, T, MS> Sync for WriteEventParams<'a, E, T, MS>
impl<'a, E, T, MS> Unpin for WriteEventParams<'a, E, T, MS>
impl<'a, E, T, MS> UnwindSafe for WriteEventParams<'a, E, T, MS>
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