#[repr(i8)]pub enum Status {
Success = 0,
ArgumentError = -1,
LengthError = -2,
SizeMismatch = -3,
NanInf = -4,
Singular = -5,
TestFailure = -6,
DecompositionFailure = -7,
}Expand description
Error status returned by functions in embedded-dsp.
Variants§
Success = 0
Operation succeeded without error.
ArgumentError = -1
One or more arguments are invalid.
LengthError = -2
Length of data buffer is invalid or mismatching.
SizeMismatch = -3
Matrix dimensions are incompatible.
NanInf = -4
NaN or Infinity was produced during computation.
Singular = -5
Matrix is singular and cannot be inverted.
TestFailure = -6
Test or verification failed.
DecompositionFailure = -7
Matrix decomposition failed.
Trait Implementations§
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
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