struct SeatDeath {
occupant: SessionId,
reason: String,
announced: bool,
shown: bool,
}Expand description
A seat’s occupant that died, held until a reader has been shown the seat AND the recovery has announced itself - so a crash nobody watched is still readable when someone looks, and the recovery that answers it is announced exactly once. The two are spent independently: showing the seat takes the row’s trace, and the connect takes the announcement, whichever comes first.
Fields§
§occupant: SessionIdThe session that ended.
reason: StringWhat the seat’s failure said when it died, which the row keeps drawing after the recovering connect clears the failure itself.
announced: boolWhether the recovery’s connect has announced it already.
shown: boolWhether a reader has been shown the seat since.
Auto Trait Implementations§
impl Freeze for SeatDeath
impl RefUnwindSafe for SeatDeath
impl Send for SeatDeath
impl Sync for SeatDeath
impl Unpin for SeatDeath
impl UnsafeUnpin for SeatDeath
impl UnwindSafe for SeatDeath
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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