pub struct TimerEpoch {
pub id: u64,
pub started_at_ns: u64,
}Expand description
Identity and start time of one runtime-local observation epoch.
Fields§
§id: u64Monotonic runtime epoch chosen by the lifecycle owner.
started_at_ns: u64IC timestamp at which this observation epoch began.
Trait Implementations§
Source§impl Clone for TimerEpoch
impl Clone for TimerEpoch
Source§fn clone(&self) -> TimerEpoch
fn clone(&self) -> TimerEpoch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TimerEpoch
Source§impl Debug for TimerEpoch
impl Debug for TimerEpoch
impl Eq for TimerEpoch
Source§impl Hash for TimerEpoch
impl Hash for TimerEpoch
Source§impl Ord for TimerEpoch
impl Ord for TimerEpoch
Source§fn cmp(&self, other: &TimerEpoch) -> Ordering
fn cmp(&self, other: &TimerEpoch) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TimerEpoch
impl PartialEq for TimerEpoch
Source§impl PartialOrd for TimerEpoch
impl PartialOrd for TimerEpoch
impl StructuralPartialEq for TimerEpoch
Auto Trait Implementations§
impl Freeze for TimerEpoch
impl RefUnwindSafe for TimerEpoch
impl Send for TimerEpoch
impl Sync for TimerEpoch
impl Unpin for TimerEpoch
impl UnsafeUnpin for TimerEpoch
impl UnwindSafe for TimerEpoch
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