Enum custos_math::custos::DeviceError
source · pub enum DeviceError {
ConstructError,
CPUtoCUDA,
GraphOptimization,
MissingAddress,
WGPUDeviceReturn,
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for DeviceError
impl Clone for DeviceError
source§fn clone(&self) -> DeviceError
fn clone(&self) -> DeviceError
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 DeviceError
impl Debug for DeviceError
source§impl Display for DeviceError
impl Display for DeviceError
source§impl Error for DeviceError
impl Error for DeviceError
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()
source§impl Hash for DeviceError
impl Hash for DeviceError
source§impl Ord for DeviceError
impl Ord for DeviceError
source§fn cmp(&self, other: &DeviceError) -> Ordering
fn cmp(&self, other: &DeviceError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<DeviceError> for DeviceError
impl PartialEq<DeviceError> for DeviceError
source§fn eq(&self, other: &DeviceError) -> bool
fn eq(&self, other: &DeviceError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<DeviceError> for DeviceError
impl PartialOrd<DeviceError> for DeviceError
source§fn partial_cmp(&self, other: &DeviceError) -> Option<Ordering>
fn partial_cmp(&self, other: &DeviceError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more