#[non_exhaustive]pub enum AdapterErrorKind {
Other,
Buffer,
Unsupported,
}Expand description
Backend-adapter-local error classification.
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.
Other
Error is not a shared adapter classification.
Buffer
Error is a caller buffer sizing or layout problem.
Unsupported
Error is an unsupported backend, request, input, or host capability.
Trait Implementations§
Source§impl Clone for AdapterErrorKind
impl Clone for AdapterErrorKind
Source§fn clone(&self) -> AdapterErrorKind
fn clone(&self) -> AdapterErrorKind
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 AdapterErrorKind
Source§impl Debug for AdapterErrorKind
impl Debug for AdapterErrorKind
impl Eq for AdapterErrorKind
Source§impl PartialEq for AdapterErrorKind
impl PartialEq for AdapterErrorKind
impl StructuralPartialEq for AdapterErrorKind
Auto Trait Implementations§
impl Freeze for AdapterErrorKind
impl RefUnwindSafe for AdapterErrorKind
impl Send for AdapterErrorKind
impl Sync for AdapterErrorKind
impl Unpin for AdapterErrorKind
impl UnsafeUnpin for AdapterErrorKind
impl UnwindSafe for AdapterErrorKind
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