pub enum NucleotideParseError {
InvalidSymbol(char),
InvalidSymbolText,
}Expand description
Error returned when parsing nucleotide symbols.
Variants§
InvalidSymbol(char)
The supplied symbol was not recognized as a primitive nucleotide symbol.
InvalidSymbolText
The supplied text was not exactly one character.
Trait Implementations§
Source§impl Clone for NucleotideParseError
impl Clone for NucleotideParseError
Source§fn clone(&self) -> NucleotideParseError
fn clone(&self) -> NucleotideParseError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NucleotideParseError
impl Debug for NucleotideParseError
Source§impl Display for NucleotideParseError
impl Display for NucleotideParseError
Source§impl Error for NucleotideParseError
impl Error for NucleotideParseError
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 NucleotideParseError
impl PartialEq for NucleotideParseError
Source§fn eq(&self, other: &NucleotideParseError) -> bool
fn eq(&self, other: &NucleotideParseError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for NucleotideParseError
impl Eq for NucleotideParseError
impl StructuralPartialEq for NucleotideParseError
Auto Trait Implementations§
impl Freeze for NucleotideParseError
impl RefUnwindSafe for NucleotideParseError
impl Send for NucleotideParseError
impl Sync for NucleotideParseError
impl Unpin for NucleotideParseError
impl UnsafeUnpin for NucleotideParseError
impl UnwindSafe for NucleotideParseError
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