pub enum SparseKernelSelectorError {
InvalidShape,
InvalidNnz,
InvalidRhsColumns {
reason: &'static str,
},
MissingMask,
MissingFrontier,
MissingBaselineId,
MissingResultDigest,
MissingTransferBytes,
}Expand description
Sparse selector validation failure.
Variants§
InvalidShape
Matrix dimensions are zero.
InvalidNnz
Non-zero count is invalid for the matrix shape.
InvalidRhsColumns
RHS column count is invalid for the workload class.
MissingMask
Mask count is required but missing.
MissingFrontier
Frontier count is required but missing.
MissingBaselineId
Baseline id is blank.
MissingResultDigest
Result digest is all zeros.
MissingTransferBytes
Transfer-byte accounting is missing.
Trait Implementations§
Source§impl Clone for SparseKernelSelectorError
impl Clone for SparseKernelSelectorError
Source§fn clone(&self) -> SparseKernelSelectorError
fn clone(&self) -> SparseKernelSelectorError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SparseKernelSelectorError
impl Debug for SparseKernelSelectorError
Source§impl Display for SparseKernelSelectorError
impl Display for SparseKernelSelectorError
impl Eq for SparseKernelSelectorError
Source§impl Error for SparseKernelSelectorError
impl Error for SparseKernelSelectorError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
impl StructuralPartialEq for SparseKernelSelectorError
Auto Trait Implementations§
impl Freeze for SparseKernelSelectorError
impl RefUnwindSafe for SparseKernelSelectorError
impl Send for SparseKernelSelectorError
impl Sync for SparseKernelSelectorError
impl Unpin for SparseKernelSelectorError
impl UnsafeUnpin for SparseKernelSelectorError
impl UnwindSafe for SparseKernelSelectorError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.