pub struct EventCtx {
pub ts: String,
pub engine: String,
pub machine: String,
}Expand description
Per-event context the caller supplies (kept out of App so tests are
deterministic and main injects the real wall-clock/host).
Fields§
§ts: String§engine: String§machine: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for EventCtx
impl RefUnwindSafe for EventCtx
impl Send for EventCtx
impl Sync for EventCtx
impl Unpin for EventCtx
impl UnsafeUnpin for EventCtx
impl UnwindSafe for EventCtx
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