pub enum FrameSubmitOutcome {
SkippedNoDamage,
Submitted,
SubmitFailed,
}Expand description
Explicit outcome of a frame submission attempt separating idle skip, successful submit, and retryable failure.
Variants§
SkippedNoDamage
No scene or surface damage required presentation on this tick.
Submitted
Complete frame was successfully submitted to the active surface generation.
SubmitFailed
Presentation submission failed; the complete pending frame is retained for automatic retry on the same surface generation.
Trait Implementations§
Source§impl Clone for FrameSubmitOutcome
impl Clone for FrameSubmitOutcome
impl Copy for FrameSubmitOutcome
Source§impl Debug for FrameSubmitOutcome
impl Debug for FrameSubmitOutcome
Source§impl Default for FrameSubmitOutcome
impl Default for FrameSubmitOutcome
impl Eq for FrameSubmitOutcome
Source§impl From<FrameSubmitOutcome> for PresentOutcome
Lossless conversion from FrameSubmitOutcome into PresentOutcome.
impl From<FrameSubmitOutcome> for PresentOutcome
Lossless conversion from FrameSubmitOutcome into PresentOutcome.
Source§impl From<PresentOutcome> for FrameSubmitOutcome
Lossy conversion from PresentOutcome into FrameSubmitOutcome.
impl From<PresentOutcome> for FrameSubmitOutcome
Lossy conversion from PresentOutcome into FrameSubmitOutcome.
Source§impl Hash for FrameSubmitOutcome
impl Hash for FrameSubmitOutcome
Source§impl Ord for FrameSubmitOutcome
impl Ord for FrameSubmitOutcome
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for FrameSubmitOutcome
impl PartialEq for FrameSubmitOutcome
Source§impl PartialOrd for FrameSubmitOutcome
impl PartialOrd for FrameSubmitOutcome
impl StructuralPartialEq for FrameSubmitOutcome
Auto Trait Implementations§
impl Forget for FrameSubmitOutcome
impl Freeze for FrameSubmitOutcome
impl Move for FrameSubmitOutcome
impl RefUnwindSafe for FrameSubmitOutcome
impl Send for FrameSubmitOutcome
impl Sync for FrameSubmitOutcome
impl Unpin for FrameSubmitOutcome
impl UnsafeUnpin for FrameSubmitOutcome
impl UnwindSafe for FrameSubmitOutcome
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