struct Watching {
subjects: Vec<Subject>,
showing: Option<SessionSlot>,
showing_attached: bool,
}Expand description
What this connection is watching, and which of it is on screen.
The two travel together because only a subject this connection watches can reach it, and only a seat can be shown. They mean different things: the subscription carries a seat’s frames, and the showing is what spends its marks.
Fields§
§subjects: Vec<Subject>§showing: Option<SessionSlot>§showing_attached: boolWhether the connection holds the showing’s attach on Live.
The two halves can arrive in either order. Both clients subscribe
first on a resume, but the route effect that sends showing races the
page’s mount, so a showing can still land before its subscribe. A mark
is spent only when the pair is complete: the showing that lands first
is remembered and the subscribe that completes it spends - never both,
or the count would be two.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Watching
impl RefUnwindSafe for Watching
impl Send for Watching
impl Sync for Watching
impl Unpin for Watching
impl UnsafeUnpin for Watching
impl UnwindSafe for Watching
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