Enum sierra::CreateDeviceError
source · pub enum CreateDeviceError<E: Error + 'static> {
OutOfMemory {
source: OutOfMemory,
},
BadFamiliesRequested,
CannotFindRequeredQueues {
source: E,
},
FunctionLoadFailed,
}
Variants§
OutOfMemory
Fields
§
source: OutOfMemory
BadFamiliesRequested
CannotFindRequeredQueues
Fields
§
source: E
FunctionLoadFailed
Implementation specific error.
Trait Implementations§
source§impl<E> Error for CreateDeviceError<E>where
E: Error + Error + 'static,
Self: Debug + Display,
impl<E> Error for CreateDeviceError<E>where
E: Error + Error + 'static,
Self: Debug + Display,
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()
source§impl<E: Error + 'static> From<OutOfMemory> for CreateDeviceError<E>
impl<E: Error + 'static> From<OutOfMemory> for CreateDeviceError<E>
source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.