pub enum ParseError<N: Nucleotide>{
InvalidFormat(String),
CoordinateError(Error),
ReferenceNucleotide(<N as FromStr>::Err),
AlternateNucleotide(<N as FromStr>::Err),
}Expand description
A parse error related to a Variant.
Variants§
InvalidFormat(String)
An invalid format was encountered when parsing a Variant.
CoordinateError(Error)
An issue occurred when parsing the coordinate of the Variant.
ReferenceNucleotide(<N as FromStr>::Err)
An issue occurred when parsing the reference nucleotide of the
Variant.
AlternateNucleotide(<N as FromStr>::Err)
An issue occurred when parsing the alternate nucleotide of the
Variant.
Trait Implementations§
Source§impl<N: Debug + Nucleotide> Debug for ParseError<N>
impl<N: Debug + Nucleotide> Debug for ParseError<N>
Source§impl<N: Nucleotide> Display for ParseError<N>
impl<N: Nucleotide> Display for ParseError<N>
Source§impl<N: Nucleotide> Error for ParseError<N>
impl<N: Nucleotide> Error for ParseError<N>
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<N> Freeze for ParseError<N>
impl<N> RefUnwindSafe for ParseError<N>
impl<N> Send for ParseError<N>
impl<N> Sync for ParseError<N>
impl<N> Unpin for ParseError<N>
impl<N> UnwindSafe for ParseError<N>
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