pub enum AminoAcidParseError {
InvalidSymbol(char),
InvalidSymbolText,
}Expand description
Error returned when parsing amino-acid symbols.
Variants§
InvalidSymbol(char)
The supplied symbol was not recognized as a primitive amino-acid symbol.
InvalidSymbolText
The supplied text was not exactly one character.
Trait Implementations§
Source§impl Clone for AminoAcidParseError
impl Clone for AminoAcidParseError
Source§fn clone(&self) -> AminoAcidParseError
fn clone(&self) -> AminoAcidParseError
Returns a duplicate of the value. Read more
1.0.0 · 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 AminoAcidParseError
impl Debug for AminoAcidParseError
Source§impl Display for AminoAcidParseError
impl Display for AminoAcidParseError
Source§impl Error for AminoAcidParseError
impl Error for AminoAcidParseError
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 AminoAcidParseError
impl PartialEq for AminoAcidParseError
impl Copy for AminoAcidParseError
impl Eq for AminoAcidParseError
impl StructuralPartialEq for AminoAcidParseError
Auto Trait Implementations§
impl Freeze for AminoAcidParseError
impl RefUnwindSafe for AminoAcidParseError
impl Send for AminoAcidParseError
impl Sync for AminoAcidParseError
impl Unpin for AminoAcidParseError
impl UnsafeUnpin for AminoAcidParseError
impl UnwindSafe for AminoAcidParseError
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