pub enum TryFromCoordinatesError {
ExceedRows(usize, usize),
ExceedColumns(usize, usize),
NotSorted(Coordinates, Coordinates),
}
Expand description
Error when create a CSVBinaryMatrix
from a list of coordinates.
Variants§
ExceedRows(usize, usize)
The coordinates exceed the number of rows.
ExceedColumns(usize, usize)
The coordinates exceed the number of columns.
NotSorted(Coordinates, Coordinates)
The coordinates are not sorted.
Trait Implementations§
Source§impl Debug for TryFromCoordinatesError
impl Debug for TryFromCoordinatesError
Source§impl Display for TryFromCoordinatesError
impl Display for TryFromCoordinatesError
Source§impl Error for TryFromCoordinatesError
impl Error for TryFromCoordinatesError
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()
Auto Trait Implementations§
impl Freeze for TryFromCoordinatesError
impl RefUnwindSafe for TryFromCoordinatesError
impl Send for TryFromCoordinatesError
impl Sync for TryFromCoordinatesError
impl Unpin for TryFromCoordinatesError
impl UnwindSafe for TryFromCoordinatesError
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