pub enum Reason {
Show 14 variants
OverBound,
RateExceeded,
Complete,
RateKept,
Empty,
Incomplete,
Lossy,
WindowTooShort,
OwnerAbsent,
ReadingKind,
NoCeiling,
Untemplated,
Kind,
NoRate,
}Expand description
Why a verdict is what it is: the fixture’s reason class.
Variants§
OverBound
Exceeds: more members than the bound, in any reading.
RateExceeded
Exceeds: n + 1 occurrences of one member less than the period
apart.
Complete
Within: a complete reading — a GET that ran to its final reply, or a window of a whole liveness span, lossless, the owner present throughout — counted at least one member, and no more than the bound.
RateKept
Within: a window of at least one period, nothing lost, an occurrence heard, none beyond the rate.
Empty
Unobservable: no member, or no occurrence, was read: an empty reply set is never a verdict (core O5).
Incomplete
Unobservable: the GET ended at its timeout, or with an error reply.
Lossy
Unobservable: the window is not shown to have lost no delivery
(lossless: its reader lost one, a miss was detected, or its QoS
drops silently).
WindowTooShort
Unobservable: the window was shorter than the rate’s period, or than the population’s liveness span.
OwnerAbsent
Unobservable: the owner was not present throughout the window and one lease after it: it joined, left or re-minted while the window listened, or a path to it failed.
ReadingKind
Unobservable: a reading that does not count this kind’s members (a window of a state, a GET of a stream or an event).
NoCeiling
Not asked: the no-ceiling bound.
Untemplated
Not asked: a template without parameters.
Kind
Not asked: an operation, whose members no reading counts.
NoRate
Not asked: no rate, so not an event.
Implementations§
Trait Implementations§
impl Copy for Reason
impl Eq for Reason
impl StructuralPartialEq for Reason
Auto Trait Implementations§
impl Forget for Reason
impl Freeze for Reason
impl Move for Reason
impl RefUnwindSafe for Reason
impl Send for Reason
impl Sync for Reason
impl Unpin for Reason
impl UnsafeUnpin for Reason
impl UnwindSafe for Reason
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
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> ⓘ
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> ⓘ
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