pub enum TimeBasis {
Measured,
Scheduled {
jitter_ms: u64,
},
Arrival,
}Expand description
What a frame’s rate is timed by (v2 §2.21). A v1 rate names none.
Variants§
Measured
Both records’ times measured on the owner’s clocks.
Scheduled
At least one record’s time scheduled: the elapsed time is exact to
within jitter_ms either way, the sum of the scheduled records’
jitter_ms. Never a measured rate.
Arrival
The reader’s arrivals: a record’s time was unknown.
Implementations§
Trait Implementations§
impl Copy for TimeBasis
impl Eq for TimeBasis
impl StructuralPartialEq for TimeBasis
Auto Trait Implementations§
impl Forget for TimeBasis
impl Freeze for TimeBasis
impl Move for TimeBasis
impl RefUnwindSafe for TimeBasis
impl Send for TimeBasis
impl Sync for TimeBasis
impl Unpin for TimeBasis
impl UnsafeUnpin for TimeBasis
impl UnwindSafe for TimeBasis
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