#[non_exhaustive]pub enum BackendErrorReason {
InvalidOutput,
PanicContained,
Internal,
}Expand description
Backend-origin failure reasons.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidOutput
A backend returned an output shape that violates the operation contract.
PanicContained
A panic firewall or equivalent adapter guard caught an unexpected fault.
Internal
A backend reported a fixed, redacted internal failure.
Trait Implementations§
Source§impl Clone for BackendErrorReason
impl Clone for BackendErrorReason
Source§fn clone(&self) -> BackendErrorReason
fn clone(&self) -> BackendErrorReason
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 BackendErrorReason
Source§impl Debug for BackendErrorReason
impl Debug for BackendErrorReason
Source§impl Display for BackendErrorReason
impl Display for BackendErrorReason
impl Eq for BackendErrorReason
Source§impl PartialEq for BackendErrorReason
impl PartialEq for BackendErrorReason
impl StructuralPartialEq for BackendErrorReason
Auto Trait Implementations§
impl Freeze for BackendErrorReason
impl RefUnwindSafe for BackendErrorReason
impl Send for BackendErrorReason
impl Sync for BackendErrorReason
impl Unpin for BackendErrorReason
impl UnsafeUnpin for BackendErrorReason
impl UnwindSafe for BackendErrorReason
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