Enum poc_kokkos_rs::routines::StatementError
source · pub enum StatementError {
Dispatch(DispatchError),
InconsistentDepth,
InconsistentExecSpace,
}
Expand description
Enum used to classify possible errors occuring in a parallel statement.
Variants§
Dispatch(DispatchError)
Error occured during dispatch; The specific DispatchError is used as the internal value of this variant.
InconsistentDepth
Error raised when parallel hierarchy isn’t respected.
InconsistentExecSpace
What did I mean by this?
Trait Implementations§
source§impl Debug for StatementError
impl Debug for StatementError
source§impl Display for StatementError
impl Display for StatementError
source§impl Error for StatementError
impl Error for StatementError
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 StatementError
impl Send for StatementError
impl Sync for StatementError
impl Unpin for StatementError
impl UnwindSafe for StatementError
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