pub enum RenderError {
Show 13 variants
SnapshotsPending,
CpuAllocationFailed,
FramesPending,
SurfaceUnavailable,
RendererClosed,
GpuAllocationFailed,
DeviceUnavailable,
CaptureFailed,
CaptureTimeout,
InvalidLimits,
BudgetExceeded,
InvalidResource,
IdentityExhausted,
}Expand description
Controlled errors at rendering/resource admission boundaries.
Variants§
SnapshotsPending
Outstanding owned scene snapshots reached their configured capacity.
CpuAllocationFailed
A bounded CPU reservation could not be allocated.
FramesPending
Two presentation submissions are pending; caller must keep pumping.
Surface needs explicit resize/recreation before further submission.
RendererClosed
Renderer no longer accepts new operations.
GpuAllocationFailed
Device rejected bounded target/pipeline allocation or validation.
Required native GPU adapter/device is unavailable or lost.
CaptureFailed
Diagnostic capture could not map the submitted result.
CaptureTimeout
Diagnostic capture did not finish within its fixed deadline.
InvalidLimits
Dimensions or configured limits are outside the supported range.
BudgetExceeded
Managed bytes or slot capacity would exceed its declared budget.
InvalidResource
A handle is stale or belongs to another arena.
IdentityExhausted
A monotonically increasing identity cannot advance safely.
Trait Implementations§
Source§impl Clone for RenderError
impl Clone for RenderError
impl Copy for RenderError
Source§impl Debug for RenderError
impl Debug for RenderError
Source§impl Display for RenderError
impl Display for RenderError
impl Eq for RenderError
Source§impl Error for RenderError
impl Error for RenderError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()