Expand description
Event metadata.
Fields
wall_time: Option<f64>
The wall clock time in microseconds.
If the field is set to None
, it sets to current EPOCH time when the event is built.
step: i64
The global step.
Implementations
sourceimpl EventMeta
impl EventMeta
sourcepub fn build_empty(&self) -> Event
pub fn build_empty(&self) -> Event
Build an empty event.
sourcepub fn build_with_summary(&self, summary: Summary) -> Event
pub fn build_with_summary(&self, summary: Summary) -> Event
Build an event with a summary.
Trait Implementations
impl StructuralPartialEq for EventMeta
Auto Trait Implementations
impl RefUnwindSafe for EventMeta
impl Send for EventMeta
impl Sync for EventMeta
impl Unpin for EventMeta
impl UnwindSafe for EventMeta
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more