Skip to main content

RealtimeSessionBranch

Struct RealtimeSessionBranch 

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

Source

pub const fn model_identity(&self) -> &RealtimeModelSessionIdentity

Exact selected model identity.

Source

pub const fn model_owner(&self) -> &RealtimeModelOwnerIdentity

Typed model owner used by payload contracts.

Source

pub const fn incarnation(&self) -> RealtimeSessionIncarnation

Exact session incarnation.

Source

pub const fn history_generation(&self) -> RealtimeHistoryGeneration

Exact coordinate-history generation.

Source

pub const fn committed_batch(&self) -> Option<NonZeroUsize>

Batch admitted by this unpublished branch, including its current frame.

Source

pub fn payload_contract( &self, ingress: &RealtimeIngressContract, ) -> Result<RealtimePayloadContract, RealtimeSessionExecutionError>

Derives the exact payload contract after scheduler batch admission.

Source

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>

§

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>

§

impl<MB, S, R, C> UnwindSafe for RealtimeSessionBranch<MB, S, R, C>

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> 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> 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> 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, 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.