Enum rosalind::RosalindError [] [src]

pub enum RosalindError<'a> {
    UnknownNucleotide(char),
    UnknownCodon(&'a str),
    CodonParseError,
}

Variants

UnknownNucleotide(char)UnknownCodon(&'a str)CodonParseError

Trait Implementations

impl<'a> Debug for RosalindError<'a>
[src]

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

Formats the value using the given formatter.

impl<'a> PartialEq for RosalindError<'a>
[src]

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

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

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

This method tests for !=.

impl<'a> Display for RosalindError<'a>
[src]

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

Formats the value using the given formatter.

impl<'a> Error for RosalindError<'a>
[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. Read more