pub enum LagError {
LagExceedsValueCount,
InvalidStride,
InvalidLength,
InvalidMemoryLayout,
}Expand description
An error during creation of a lagged data matrix.
Variants§
LagExceedsValueCount
The number of lags is greater than the number of data points.
InvalidStride
The row/column stride is less than the number of elements.
InvalidLength
The number of data points does not match the row/column length specified.
InvalidMemoryLayout
The data is in an invalid (e.g. non-contiguous) memory layout.
Trait Implementations§
source§impl Error for LagError
impl Error for LagError
1.30.0 · 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 PartialEq<LagError> for LagError
impl PartialEq<LagError> for LagError
impl Copy for LagError
impl Eq for LagError
impl StructuralEq for LagError
impl StructuralPartialEq for LagError
Auto Trait Implementations§
impl RefUnwindSafe for LagError
impl Send for LagError
impl Sync for LagError
impl Unpin for LagError
impl UnwindSafe for LagError
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