pub struct ReleasedRealtimeSession<M, S, R, C> { /* private fields */ }Expand description
Released canonical state which can resume only under the exact model identity.
Implementations§
Source§impl<M, S, R, C> ReleasedRealtimeSession<M, S, R, C>
impl<M, S, R, C> ReleasedRealtimeSession<M, S, R, C>
Sourcepub const fn model_identity(&self) -> &RealtimeModelSessionIdentity
pub const fn model_identity(&self) -> &RealtimeModelSessionIdentity
Exact selected model identity required for resumption.
Sourcepub const fn incarnation(&self) -> RealtimeSessionIncarnation
pub const fn incarnation(&self) -> RealtimeSessionIncarnation
Preserved session incarnation.
Sourcepub const fn committed_batch(&self) -> Option<NonZeroUsize>
pub const fn committed_batch(&self) -> Option<NonZeroUsize>
Batch committed by the first successful frame, if any.
Auto Trait Implementations§
impl<M, S, R, C> Freeze for ReleasedRealtimeSession<M, S, R, C>where
RealtimeSessionState<M, S, R, C>: Freeze,
impl<M, S, R, C> RefUnwindSafe for ReleasedRealtimeSession<M, S, R, C>where
RealtimeSessionState<M, S, R, C>: RefUnwindSafe,
impl<M, S, R, C> Send for ReleasedRealtimeSession<M, S, R, C>where
RealtimeSessionState<M, S, R, C>: Send,
impl<M, S, R, C> Sync for ReleasedRealtimeSession<M, S, R, C>where
RealtimeSessionState<M, S, R, C>: Sync,
impl<M, S, R, C> Unpin for ReleasedRealtimeSession<M, S, R, C>where
RealtimeSessionState<M, S, R, C>: Unpin,
impl<M, S, R, C> UnsafeUnpin for ReleasedRealtimeSession<M, S, R, C>where
RealtimeSessionState<M, S, R, C>: UnsafeUnpin,
impl<M, S, R, C> UnwindSafe for ReleasedRealtimeSession<M, S, R, C>where
RealtimeSessionState<M, 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