pub struct RealtimeSessionBranch<MB, S, R, C> { /* private fields */ }Expand description
Unpublished realtime session branch owned by the core scheduler.
Implementations§
Source§impl<MB, S, R, C> RealtimeSessionBranch<MB, S, R, C>
impl<MB, S, R, C> RealtimeSessionBranch<MB, S, R, C>
Sourcepub const fn model_identity(&self) -> &RealtimeModelSessionIdentity
pub const fn model_identity(&self) -> &RealtimeModelSessionIdentity
Exact selected model identity.
Sourcepub const fn model_owner(&self) -> &RealtimeModelOwnerIdentity
pub const fn model_owner(&self) -> &RealtimeModelOwnerIdentity
Typed model owner used by payload contracts.
Sourcepub const fn incarnation(&self) -> RealtimeSessionIncarnation
pub const fn incarnation(&self) -> RealtimeSessionIncarnation
Exact session incarnation.
Sourcepub const fn history_generation(&self) -> RealtimeHistoryGeneration
pub const fn history_generation(&self) -> RealtimeHistoryGeneration
Exact coordinate-history generation.
Sourcepub const fn committed_batch(&self) -> Option<NonZeroUsize>
pub const fn committed_batch(&self) -> Option<NonZeroUsize>
Batch admitted by this unpublished branch, including its current frame.
Sourcepub fn payload_contract(
&self,
ingress: &RealtimeIngressContract,
) -> Result<RealtimePayloadContract, RealtimeSessionExecutionError>
pub fn payload_contract( &self, ingress: &RealtimeIngressContract, ) -> Result<RealtimePayloadContract, RealtimeSessionExecutionError>
Derives the exact payload contract after scheduler batch admission.
Sourcepub fn generation_mut(&mut self) -> &mut RealtimeGenerationBranch<MB, S, R, C>
pub fn generation_mut(&mut self) -> &mut RealtimeGenerationBranch<MB, S, R, C>
Unpublished generation branch passed to the injected executor.
Auto Trait Implementations§
impl<MB, S, R, C> Freeze for RealtimeSessionBranch<MB, S, R, C>where
RealtimeGenerationBranch<MB, S, R, C>: Freeze,
impl<MB, S, R, C> RefUnwindSafe for RealtimeSessionBranch<MB, S, R, C>where
RealtimeGenerationBranch<MB, S, R, C>: RefUnwindSafe,
impl<MB, S, R, C> Send for RealtimeSessionBranch<MB, S, R, C>where
RealtimeGenerationBranch<MB, S, R, C>: Send,
impl<MB, S, R, C> Sync for RealtimeSessionBranch<MB, S, R, C>where
RealtimeGenerationBranch<MB, S, R, C>: Sync,
impl<MB, S, R, C> Unpin for RealtimeSessionBranch<MB, S, R, C>where
RealtimeGenerationBranch<MB, S, R, C>: Unpin,
impl<MB, S, R, C> UnsafeUnpin for RealtimeSessionBranch<MB, S, R, C>where
RealtimeGenerationBranch<MB, S, R, C>: UnsafeUnpin,
impl<MB, S, R, C> UnwindSafe for RealtimeSessionBranch<MB, S, R, C>where
RealtimeGenerationBranch<MB, S, R, C>: UnwindSafe,
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
Mutably borrows from an owned value. Read more