pub struct Window {
pub listened: Duration,
pub lossless: bool,
pub present_throughout: bool,
pub in_step: Option<bool>,
}Expand description
A reader’s subscription window on an owner’s alarms, declared before its GET (core §4.2), as core §2.7 establishes one. After a loss, the window starts again at the first complete GET that followed it, the reader’s re-seed (text 0.2, F-128): a loss before that GET is healed by it, one after it is not.
Fields§
§listened: DurationHow long it has listened, from its declaration plus its reply timeout (core §2.7), or since the re-seed that followed its latest loss.
lossless: boolIt lost no delivery over the window, established as core §2.7 says (0.25, 0.27).
present_throughout: boolThe owner held its instance token from the window’s start until one lease after its end (core §2.7). Not asked across a face, where presence does not cross.
in_step: Option<bool>Of an owner whose revision uses freshness.v2 (§2.15, text 0.11):
whether the latest heartbeat covering its alarms heard in the
window was in step with the reader’s view, its section’s digest and
live count the view’s; Some(false) too when none was heard. None
for an owner that re-puts, under freshness.v1.
Trait Implementations§
impl Copy for Window
impl Eq for Window
impl StructuralPartialEq for Window
Auto Trait Implementations§
impl Forget for Window
impl Freeze for Window
impl Move for Window
impl RefUnwindSafe for Window
impl Send for Window
impl Sync for Window
impl Unpin for Window
impl UnsafeUnpin for Window
impl UnwindSafe for Window
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