pub enum NoRate {
Kind,
Reset,
Decreased,
Elapsed,
WrapOrDecrease,
}Expand description
Why a pair has no rate (§2.11).
Variants§
Kind
Not asked: the pair is not of two counters, an incomparable pair included, since two counters are always comparable (0.2, F-146).
Reset
Decreased
Elapsed
The elapsed time is 0 or less.
WrapOrDecrease
A narrow counter’s change within one epoch lies outside its serial window: a wrap or a decrease, which the two values cannot tell apart (v2 §2.20).
Implementations§
Trait Implementations§
impl Copy for NoRate
impl Eq for NoRate
impl StructuralPartialEq for NoRate
Auto Trait Implementations§
impl Forget for NoRate
impl Freeze for NoRate
impl Move for NoRate
impl RefUnwindSafe for NoRate
impl Send for NoRate
impl Sync for NoRate
impl Unpin for NoRate
impl UnsafeUnpin for NoRate
impl UnwindSafe for NoRate
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