pub enum SubmitError {
NullBuffer,
InvalidFrame,
NoFreeSlot,
RendererStopped,
RenderFailed,
DeviceRemoved,
}Expand description
Errors a D3d12FrameRenderer/D3d11FrameRenderer implementation can
report. GPU-vendor-agnostic (no D3D11/D3D12-specific type in here), so
it’s shared by both instead of each defining its own copy — and left
ungated (not behind either renderer feature) so it’s a stable type to
reference regardless of which one a caller actually enables.
Variants§
NullBuffer
InvalidFrame
NoFreeSlot
RendererStopped
RenderFailed
DeviceRemoved
The GPU device is no longer valid (driver reset/removal). Recovery requires recreating the whole rendering setup, not just retrying.
Trait Implementations§
Source§impl Clone for SubmitError
impl Clone for SubmitError
Source§fn clone(&self) -> SubmitError
fn clone(&self) -> SubmitError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SubmitError
Source§impl Debug for SubmitError
impl Debug for SubmitError
impl Eq for SubmitError
Source§impl PartialEq for SubmitError
impl PartialEq for SubmitError
impl StructuralPartialEq for SubmitError
Auto Trait Implementations§
impl Freeze for SubmitError
impl RefUnwindSafe for SubmitError
impl Send for SubmitError
impl Sync for SubmitError
impl Unpin for SubmitError
impl UnsafeUnpin for SubmitError
impl UnwindSafe for SubmitError
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