pub struct SubmittedRealtimeFrame<T, C> { /* private fields */ }Expand description
One completed native frame paired with the exact completion tracked by the scheduler.
Implementations§
Source§impl<T, C> SubmittedRealtimeFrame<T, C>
impl<T, C> SubmittedRealtimeFrame<T, C>
Sourcepub const fn frame(&self) -> &CompletedRealtimeFrame<T, T>
pub const fn frame(&self) -> &CompletedRealtimeFrame<T, T>
Returns native output values before portable host observation.
Sourcepub const fn completion(&self) -> &C
pub const fn completion(&self) -> &C
Returns the exact completion handle shared with the unpublished state branch.
Sourcepub fn into_parts(self) -> (CompletedRealtimeFrame<T, T>, C)
pub fn into_parts(self) -> (CompletedRealtimeFrame<T, T>, C)
Consumes the scheduler output into native frame values and exact completion.
Trait Implementations§
Source§impl<T, C> TransitionOutput for SubmittedRealtimeFrame<T, C>where
C: Completion,
impl<T, C> TransitionOutput for SubmittedRealtimeFrame<T, C>where
C: Completion,
Source§type Error = <C as Completion>::Error
type Error = <C as Completion>::Error
Completion observation error.
Source§fn retained_resources(&self) -> usize
fn retained_resources(&self) -> usize
Explicitly retained resource count.
Source§fn backend_name(&self) -> Option<String>
fn backend_name(&self) -> Option<String>
Stable backend name used only for capability telemetry.
Source§fn physically_preemptible(&self) -> bool
fn physically_preemptible(&self) -> bool
Whether already executing work can be physically interrupted.
Auto Trait Implementations§
impl<T, C> Freeze for SubmittedRealtimeFrame<T, C>
impl<T, C> RefUnwindSafe for SubmittedRealtimeFrame<T, C>
impl<T, C> Send for SubmittedRealtimeFrame<T, C>
impl<T, C> Sync for SubmittedRealtimeFrame<T, C>
impl<T, C> Unpin for SubmittedRealtimeFrame<T, C>
impl<T, C> UnsafeUnpin for SubmittedRealtimeFrame<T, C>
impl<T, C> UnwindSafe for SubmittedRealtimeFrame<T, C>
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