pub enum ArithmeticError {
MismatchedContigs(Contig, Contig),
MismatchedStrands(Strand, Strand),
}Expand description
An artimetic error related to Coordinates.
Variants§
MismatchedContigs(Contig, Contig)
Could not perform arithmetic for coordinates on different contigs.
MismatchedStrands(Strand, Strand)
Could not perform arithmetic for coordinates on different strands.
Trait Implementations§
source§impl Debug for ArithmeticError
impl Debug for ArithmeticError
source§impl Display for ArithmeticError
impl Display for ArithmeticError
source§impl Error for ArithmeticError
impl Error for ArithmeticError
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 ArithmeticError
impl PartialEq for ArithmeticError
impl Eq for ArithmeticError
impl StructuralPartialEq for ArithmeticError
Auto Trait Implementations§
impl Freeze for ArithmeticError
impl RefUnwindSafe for ArithmeticError
impl Send for ArithmeticError
impl Sync for ArithmeticError
impl Unpin for ArithmeticError
impl UnwindSafe for ArithmeticError
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