pub struct RecordTime {
pub frame: u64,
pub when: When,
pub after_ms: u64,
pub at_ms: Option<u64>,
}Expand description
A frame record’s time, as a frame’s sample carries it (v2 §2.21, core
§7.7): what crate::frame::RecordRead reads, and which frame of the
key the record came in.
Fields§
§frame: u64Which frame of its key it came in, as its reader counts them: two records with one number came in one frame, and are timed by their offsets from its record 0.
when: When§after_ms: u64After record 0: its measured offset, or step_ms × its index when
scheduled. 0 for record 0.
at_ms: Option<u64>Its instant in milliseconds from the deployment epoch, None when
its frame’s time is unknown.
Implementations§
Trait Implementations§
Source§impl Clone for RecordTime
impl Clone for RecordTime
impl Copy for RecordTime
Source§impl Debug for RecordTime
impl Debug for RecordTime
impl Eq for RecordTime
Source§impl PartialEq for RecordTime
impl PartialEq for RecordTime
impl StructuralPartialEq for RecordTime
Auto Trait Implementations§
impl Forget for RecordTime
impl Freeze for RecordTime
impl Move for RecordTime
impl RefUnwindSafe for RecordTime
impl Send for RecordTime
impl Sync for RecordTime
impl Unpin for RecordTime
impl UnsafeUnpin for RecordTime
impl UnwindSafe for RecordTime
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more