Enum wgpu_core::instance::RequestAdapterError
source · #[non_exhaustive]pub enum RequestAdapterError {
NotFound,
}
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.
NotFound
Trait Implementations§
source§impl Clone for RequestAdapterError
impl Clone for RequestAdapterError
source§fn clone(&self) -> RequestAdapterError
fn clone(&self) -> RequestAdapterError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RequestAdapterError
impl Debug for RequestAdapterError
source§impl<'de> Deserialize<'de> for RequestAdapterError
impl<'de> Deserialize<'de> for RequestAdapterError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for RequestAdapterError
impl Display for RequestAdapterError
source§impl Error for RequestAdapterError
impl Error for RequestAdapterError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl Freeze for RequestAdapterError
impl RefUnwindSafe for RequestAdapterError
impl Send for RequestAdapterError
impl Sync for RequestAdapterError
impl Unpin for RequestAdapterError
impl UnwindSafe for RequestAdapterError
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