#[repr(i32)]pub enum NdarrayErr {
Ok = 0,
OutOfBounds = 1,
Oom = 2,
Inval = 3,
Overflow = 4,
Conversion = 5,
}Expand description
Error codes matching asdf_ndarray_err_t.
Variants§
Ok = 0
Read successfully.
OutOfBounds = 1
Read beyond the bounds of the array.
Oom = 2
Allocation failure.
Inval = 3
An argument was invalid.
Overflow = 4
A value did not fit the requested type.
Conversion = 5
An element could not be converted to the requested type.
Trait Implementations§
Source§impl Clone for NdarrayErr
impl Clone for NdarrayErr
Source§fn clone(&self) -> NdarrayErr
fn clone(&self) -> NdarrayErr
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 moreimpl Copy for NdarrayErr
Source§impl Debug for NdarrayErr
impl Debug for NdarrayErr
impl Eq for NdarrayErr
Source§impl PartialEq for NdarrayErr
impl PartialEq for NdarrayErr
impl StructuralPartialEq for NdarrayErr
Auto Trait Implementations§
impl Freeze for NdarrayErr
impl RefUnwindSafe for NdarrayErr
impl Send for NdarrayErr
impl Sync for NdarrayErr
impl Unpin for NdarrayErr
impl UnsafeUnpin for NdarrayErr
impl UnwindSafe for NdarrayErr
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