pub enum BackendFailureKind {
Unavailable,
Unsupported,
Runtime,
Kernel,
StatePoisoned,
InvalidInput,
OutOfMemory,
}Expand description
Backend failure class used before mapping into codec-specific errors.
Variants§
Requested backend is not available on this host or build.
Unsupported
Request shape is outside the backend implementation.
Runtime
Runtime/device/queue/context setup failed.
Kernel
Kernel or shader execution failed.
StatePoisoned
Backend state lock or session state was poisoned.
InvalidInput
Backend rejected malformed caller input.
OutOfMemory
Backend allocation failed.
Trait Implementations§
Source§impl Clone for BackendFailureKind
impl Clone for BackendFailureKind
Source§fn clone(&self) -> BackendFailureKind
fn clone(&self) -> BackendFailureKind
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 BackendFailureKind
Source§impl Debug for BackendFailureKind
impl Debug for BackendFailureKind
impl Eq for BackendFailureKind
Source§impl Hash for BackendFailureKind
impl Hash for BackendFailureKind
Source§impl PartialEq for BackendFailureKind
impl PartialEq for BackendFailureKind
Source§fn eq(&self, other: &BackendFailureKind) -> bool
fn eq(&self, other: &BackendFailureKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BackendFailureKind
Auto Trait Implementations§
impl Freeze for BackendFailureKind
impl RefUnwindSafe for BackendFailureKind
impl Send for BackendFailureKind
impl Sync for BackendFailureKind
impl Unpin for BackendFailureKind
impl UnsafeUnpin for BackendFailureKind
impl UnwindSafe for BackendFailureKind
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