Enum logid::evident::publisher::EventTimestampKind
pub enum EventTimestampKind {
Captured,
Created,
}
Variants§
Captured
Sets the event time, when the event is captured.
Note: With this setting, event timestamps might show incorrect order in case of concurrent events, because events are buffered before capturing.
Note: This has slightly better performance on the thread setting an event, because system time access is delayed to the capturing thread.
Created
Sets the event time, when the event is created.
Note: This has slightly worse performance on the thread setting an event, because system time access most likely requires a context switch.
Trait Implementations§
§impl Clone for EventTimestampKind
impl Clone for EventTimestampKind
§fn clone(&self) -> EventTimestampKind
fn clone(&self) -> EventTimestampKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for EventTimestampKind
impl Debug for EventTimestampKind
§impl PartialEq<EventTimestampKind> for EventTimestampKind
impl PartialEq<EventTimestampKind> for EventTimestampKind
§fn eq(&self, other: &EventTimestampKind) -> bool
fn eq(&self, other: &EventTimestampKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EventTimestampKind
impl Eq for EventTimestampKind
impl StructuralEq for EventTimestampKind
impl StructuralPartialEq for EventTimestampKind
Auto Trait Implementations§
impl RefUnwindSafe for EventTimestampKind
impl Send for EventTimestampKind
impl Sync for EventTimestampKind
impl Unpin for EventTimestampKind
impl UnwindSafe for EventTimestampKind
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