pub struct RequestDeviceError { /* private fields */ }Expand description
Requesting a device from an Adapter failed.
Trait Implementations§
Source§impl Clone for RequestDeviceError
impl Clone for RequestDeviceError
Source§impl Debug for RequestDeviceError
impl Debug for RequestDeviceError
Source§impl Display for RequestDeviceError
impl Display for RequestDeviceError
Source§impl Error for RequestDeviceError
impl Error for RequestDeviceError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<RequestDeviceError> for RequestDeviceError
Available on wgpu_core only.
impl From<RequestDeviceError> for RequestDeviceError
Available on
wgpu_core only.Source§fn from(error: RequestDeviceError) -> Self
fn from(error: RequestDeviceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for RequestDeviceError
impl Freeze for RequestDeviceErrorwhere
*const DeviceMismatch is !null: Freeze,
PhantomData<DeviceMismatch>: Freeze,
&'static str: Freeze,
String: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ParseError is !null: Freeze,
PhantomData<ParseError>: Freeze,
*const WithSpan<ValidationError> is !null: Freeze,
PhantomData<WithSpan<ValidationError>>: Freeze,
*const ParseErrors is !null: Freeze,
PhantomData<ParseErrors>: Freeze,
*const Error is !null: Freeze,
PhantomData<Error>: Freeze,
InternalBitFlags: Freeze,
InternalBitFlags: Freeze,
InternalBitFlags: Freeze,
InternalBitFlags: Freeze,
InternalBitFlags: Freeze,
NonZero<u64>: Freeze,
PhantomData<MaxVertexShaderOutputDeduction>: Freeze,
PhantomData<MaxFragmentShaderInputDeduction>: Freeze,
impl Move for RequestDeviceError
impl RefUnwindSafe for RequestDeviceErrorwhere
String: RefUnwindSafe,
NonZero<u32>: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
NonZero<u64>: RefUnwindSafe,
impl Send for RequestDeviceErrorwhere
BoxRaw<DeviceMismatch>: Send,
&'static str: Send,
String: Send,
RawVecInner: Send,
BoxRaw<ParseError>: Send,
BoxRaw<WithSpan<ValidationError>>: Send,
BoxRaw<ParseErrors>: Send,
BoxRaw<Error>: Send,
InternalBitFlags: Send,
InternalBitFlags: Send,
InternalBitFlags: Send,
InternalBitFlags: Send,
InternalBitFlags: Send,
NonZero<u64>: Send,
impl Sync for RequestDeviceErrorwhere
BoxRaw<DeviceMismatch>: Sync,
String: Sync,
RawVecInner: Sync,
BoxRaw<ParseError>: Sync,
BoxRaw<WithSpan<ValidationError>>: Sync,
BoxRaw<ParseErrors>: Sync,
BoxRaw<Error>: Sync,
InternalBitFlags: Sync,
InternalBitFlags: Sync,
InternalBitFlags: Sync,
InternalBitFlags: Sync,
InternalBitFlags: Sync,
NonZero<u64>: Sync,
impl Unpin for RequestDeviceErrorwhere
Box<DeviceMismatch>: Unpin,
&'static str: Unpin,
String: Unpin,
*const u8 is !null: Unpin,
Box<ParseError>: Unpin,
Box<WithSpan<ValidationError>>: Unpin,
Box<ParseErrors>: Unpin,
Box<Error>: Unpin,
InternalBitFlags: Unpin,
InternalBitFlags: Unpin,
InternalBitFlags: Unpin,
InternalBitFlags: Unpin,
InternalBitFlags: Unpin,
NonZero<u64>: Unpin,
impl UnsafeUnpin for RequestDeviceErrorwhere
*const DeviceMismatch is !null: UnsafeUnpin,
PhantomData<DeviceMismatch>: UnsafeUnpin,
&'static str: UnsafeUnpin,
String: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ParseError is !null: UnsafeUnpin,
PhantomData<ParseError>: UnsafeUnpin,
*const WithSpan<ValidationError> is !null: UnsafeUnpin,
PhantomData<WithSpan<ValidationError>>: UnsafeUnpin,
*const ParseErrors is !null: UnsafeUnpin,
PhantomData<ParseErrors>: UnsafeUnpin,
*const Error is !null: UnsafeUnpin,
PhantomData<Error>: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
NonZeroU64Inner: UnsafeUnpin,
PhantomData<MaxVertexShaderOutputDeduction>: UnsafeUnpin,
PhantomData<MaxFragmentShaderInputDeduction>: UnsafeUnpin,
impl UnwindSafe for RequestDeviceErrorwhere
BoxRaw<DeviceMismatch>: UnwindSafe,
&'static str: UnwindSafe,
String: UnwindSafe,
RawVecInner: UnwindSafe,
BoxRaw<ParseError>: UnwindSafe,
BoxRaw<WithSpan<ValidationError>>: UnwindSafe,
BoxRaw<ParseErrors>: UnwindSafe,
BoxRaw<Error>: UnwindSafe,
InternalBitFlags: UnwindSafe,
InternalBitFlags: UnwindSafe,
InternalBitFlags: UnwindSafe,
InternalBitFlags: UnwindSafe,
InternalBitFlags: UnwindSafe,
NonZero<u64>: UnwindSafe,
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