pub enum StateSpaceError {
DimensionMismatch {
expected: usize,
found: usize,
},
InvalidBound {
lower: f64,
upper: f64,
},
ZeroDimensionUnbounded,
InvalidAngularDistance {
lower: f64,
},
}Variants§
DimensionMismatch
The length of the provided bounds does not match the dimension.
InvalidBound
A lower bound is greater than or equal to its corresponding upper bound.
ZeroDimensionUnbounded
A 0-dimensional space was requested without explicit (empty) bounds.
InvalidAngularDistance
Below the least angular bound
Trait Implementations§
Source§impl Debug for StateSpaceError
impl Debug for StateSpaceError
Source§impl Display for StateSpaceError
impl Display for StateSpaceError
Source§impl Error for StateSpaceError
impl Error for StateSpaceError
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 StateSpaceError
impl PartialEq for StateSpaceError
Source§fn eq(&self, other: &StateSpaceError) -> bool
fn eq(&self, other: &StateSpaceError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StateSpaceError
Auto Trait Implementations§
impl Freeze for StateSpaceError
impl RefUnwindSafe for StateSpaceError
impl Send for StateSpaceError
impl Sync for StateSpaceError
impl Unpin for StateSpaceError
impl UnsafeUnpin for StateSpaceError
impl UnwindSafe for StateSpaceError
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