pub struct CutensorError(pub cutensorStatus_t);Expand description
Error wrapper around a cutensorStatus_t. Mirrors
cudarc::cutensor::result::CutensorError so error messages are
consistent across the safe/sys boundary.
Tuple Fields§
§0: cutensorStatus_tTrait Implementations§
Source§impl Clone for CutensorError
impl Clone for CutensorError
Source§fn clone(&self) -> CutensorError
fn clone(&self) -> CutensorError
Returns a duplicate 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 CutensorError
impl Debug for CutensorError
Source§impl Display for CutensorError
impl Display for CutensorError
Source§impl Error for CutensorError
impl Error for CutensorError
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()
Source§impl PartialEq for CutensorError
impl PartialEq for CutensorError
impl Copy for CutensorError
impl Eq for CutensorError
impl StructuralPartialEq for CutensorError
Auto Trait Implementations§
impl Freeze for CutensorError
impl RefUnwindSafe for CutensorError
impl Send for CutensorError
impl Sync for CutensorError
impl Unpin for CutensorError
impl UnsafeUnpin for CutensorError
impl UnwindSafe for CutensorError
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more