Enum rosalind::RosalindError [] [src]

pub enum RosalindError {
    UnknownNucleotide(char),
    UnknownCodon(String),
    UnknownAminoAcid(char),
    CodonParseError,
    HammingStringsLengthError,
    MotifStringsLengthError,
    InvalidInputParameters,
}

Variants

UnknownNucleotide(char)UnknownCodon(String)UnknownAminoAcid(char)CodonParseErrorHammingStringsLengthErrorMotifStringsLengthErrorInvalidInputParameters

Trait Implementations

impl Debug for RosalindError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialEq for RosalindError
[src]

fn eq(&self, __arg_0: &RosalindError) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &RosalindError) -> bool

This method tests for !=.

impl Display for RosalindError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for RosalindError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

The lower-level cause of this error, if any.