Skip to main content

Reason

Enum Reason 

Source
pub enum Reason {
Show 47 variants Firing, Resolved, Deleted, Stale, Fresh, NotFiring, Absent, NotListed, PresenceIncomplete, NoDescriptor, FaceClosed, NothingCrossed, AcrossFace, LastKnown, PreviousInstance, Incomplete, NotRead, NotHeld, Undecodable, Answered, Window, NoSeed, SeedIncomplete, NoMember, WindowLost, WindowShort, OwnerGap, WindowUnconfirmed, AnyFiring, NoneFiring, OwnerUnobservable, ScopeIncomplete, AlarmUnobservable, NoOwner, Strict, Sanitized, Mismatch, NoDocument, Rebound, Snapshot, SnapshotIncomplete, SnapshotRun, Table, NoWords, NoRecord, Unreadable, Freshness(Reason),
}
Expand description

Why an answer is what it is: the fixture’s reason class (§2.14, §2.15, §5).

Variants§

§

Firing

Is it firing, yes: a fresh firing document.

§

Resolved

Is it firing, no: a resolved document.

§

Deleted

Is it firing, no: a delete or a reply_del, read as resolved.

§

Stale

Unobservable, or the stale question’s yes: not confirmed within 900 s.

§

Fresh

The stale question’s no: confirmed within 900 s.

§

NotFiring

The stale question, not asked: the latest is not firing.

§

Absent

Not asked: absent, presence’s word.

§

NotListed

Not asked: the descriptor does not list alarms.v1.

§

PresenceIncomplete

Unobservable: its token not seen, in a read possibly incomplete.

§

NoDescriptor

Unobservable: the descriptor could not be read.

§

FaceClosed

Unobservable: across a face that does not let the reader reach the owner’s alarms (§2.11).

§

NothingCrossed

Unobservable: across a face, nothing of the key arrived.

§

AcrossFace

Unobservable: across a face, where presence does not cross.

§

LastKnown

Not asked: only an archive was read, last-known (core S6).

§

PreviousInstance

Not asked: the latest put is an earlier instance’s last word, which the present instance has neither put nor answered (§2.14).

§

Incomplete

Unobservable: a subscription lost deliveries, and no GET answered since.

§

NotRead

Unobservable: nothing of the key was read.

§

NotHeld

Is it firing, no: the owner’s alarms, established, do not hold it.

§

Undecodable

Unobservable: the latest put does not read (§2.4).

§

Answered

An owner’s alarms established: a complete GET that it answered.

§

Window

An owner’s alarms established: a complete, empty GET, and a lossless window longer than the horizon, the owner present throughout.

§

NoSeed

An owner’s alarms unobservable: no GET was made.

§

SeedIncomplete

An owner’s alarms unobservable: the GET ended at its timeout, or with an error reply.

§

NoMember

An owner’s alarms unobservable: an empty GET and no window (core O5).

§

WindowLost

An owner’s alarms unobservable: the window lost a delivery.

§

WindowShort

An owner’s alarms unobservable: the window was no longer than the horizon.

§

OwnerGap

An owner’s alarms unobservable: the owner was not present throughout the window.

§

WindowUnconfirmed

An owner’s alarms unobservable: its revision uses freshness.v2, and the latest heartbeat of its alarms heard in the window was not in step with the reader’s view, or none was heard (text 0.11).

§

AnyFiring

Anything firing, yes.

§

NoneFiring

Anything firing, no.

§

OwnerUnobservable

Anything firing, unobservable: an owner’s alarms are.

§

ScopeIncomplete

Anything firing, unobservable: the reads that found the owners in scope were not whole, so an owner they missed may fire (text 0.5, F-137).

§

AlarmUnobservable

Anything firing, unobservable: an alarm at or above the severity, or of a severity not known, is.

§

NoOwner

Anything firing, not asked: no owner’s alarms were established or unobservable.

§

Strict

Re-derives, yes: the strict recipe gives the key.

§

Sanitized

Re-derives, yes: the sanitizing step gives the key (§2.3).

§

Mismatch

Re-derives, no.

§

NoDocument

Re-derives, not asked: a delete carries no document.

§

Rebound

alarms.v2. Is it firing, no: another identity’s record is on its slot under its run, so it resolved and the reader lost that put (§2.6, §2.14).

§

Snapshot

alarms.v2. An owner’s alarms established: one complete snapshot, with an entry or with none (§2.15).

§

SnapshotIncomplete

alarms.v2. An owner’s alarms unobservable: no page of the snapshot, or a page missing.

§

SnapshotRun

alarms.v2. An owner’s alarms unobservable: the snapshot’s run is one no present descriptor states, an earlier instance’s.

§

Table

alarms.v2. Do the slot’s words derive its record’s key, not asked: the record names a table’s rule (§2.4).

§

NoWords

alarms.v2. The same, not asked: no words were read.

§

NoRecord

alarms.v2. The same, not asked: no record is held on the slot.

§

Unreadable

alarms.v2. The same, unobservable: the words do not read.

§

Freshness(Reason)

Unobservable: the key’s freshness, freshness.v1’s reason.

Implementations§

Source§

impl Reason

Source

pub fn as_str(self) -> &'static str

The fixture’s token.

Source

pub fn says(self) -> &'static str

The reason in words, for a tool’s message.

Trait Implementations§

Source§

impl Clone for Reason

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Reason

Source§

impl Debug for Reason

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for Reason

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for Reason

Source§

impl Hash for Reason

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for Reason

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> AsNode<T> for T

Source§

fn as_node(&self) -> &T

Source§

impl<T> AsNodeMut<T> for T

Source§

fn as_node_mut(&mut self) -> &mut T

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.