pub enum ResidueError {
EmptySymbol,
MultipleSymbols,
}Expand description
Error returned by residue vocabulary constructors.
Variants§
EmptySymbol
The supplied residue symbol text was empty.
MultipleSymbols
The supplied residue symbol text contained more than one character.
Trait Implementations§
Source§impl Clone for ResidueError
impl Clone for ResidueError
Source§fn clone(&self) -> ResidueError
fn clone(&self) -> ResidueError
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 ResidueError
impl Debug for ResidueError
Source§impl Display for ResidueError
impl Display for ResidueError
Source§impl Error for ResidueError
impl Error for ResidueError
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 ResidueError
impl PartialEq for ResidueError
impl Copy for ResidueError
impl Eq for ResidueError
impl StructuralPartialEq for ResidueError
Auto Trait Implementations§
impl Freeze for ResidueError
impl RefUnwindSafe for ResidueError
impl Send for ResidueError
impl Sync for ResidueError
impl Unpin for ResidueError
impl UnsafeUnpin for ResidueError
impl UnwindSafe for ResidueError
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