Enum poc_kokkos_rs::routines::dispatch::DispatchError
source · pub enum DispatchError {
Serial(&'static str),
CPU(&'static str),
GPU(&'static str),
}
Expand description
Enum used to classify possible dispatch errors.
In all variants, the internal value is a description of the error.
Variants§
Serial(&'static str)
Error occured during serial dispatch.
CPU(&'static str)
Error occured during parallel CPU dispatch.
GPU(&'static str)
Error occured during GPU dispatch.
Trait Implementations§
source§impl Debug for DispatchError
impl Debug for DispatchError
source§impl Display for DispatchError
impl Display for DispatchError
source§impl Error for DispatchError
impl Error for DispatchError
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 From<DispatchError> for StatementError
impl From<DispatchError> for StatementError
source§fn from(e: DispatchError) -> Self
fn from(e: DispatchError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for DispatchError
impl Send for DispatchError
impl Sync for DispatchError
impl Unpin for DispatchError
impl UnwindSafe for DispatchError
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