Enum fst::Error [] [src]

pub enum Error {
    Fst(Error),
    Regex(RegexError),
    Levenshtein(LevenshteinError),
    Io(Error),
}

An error that encapsulates all possible errors in this crate.

Variants

Fst(Error)

An error that occurred while reading or writing a finite state transducer.

Regex(RegexError)

An error that occurred while compiling a regular expression.

Levenshtein(LevenshteinError)

An error that occurred while building a Levenshtein automaton.

Io(Error)

An IO error that occurred while writing a finite state transducer.

Trait Implementations

impl Debug for Error
[src]

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

Formats the value using the given formatter.

impl From<Error> for Error
[src]

fn from(err: Error) -> Error

Performs the conversion.

impl From<RegexError> for Error
[src]

fn from(err: RegexError) -> Error

Performs the conversion.

impl From<LevenshteinError> for Error
[src]

fn from(err: LevenshteinError) -> Error

Performs the conversion.

impl From<Error> for Error
[src]

fn from(err: Error) -> Error

Performs the conversion.

impl From<Error> for Error
[src]

fn from(err: Error) -> Error

Performs the conversion.

impl From<Error> for Error
[src]

fn from(err: Error) -> Error

Performs the conversion.

impl Display for Error
[src]

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

Formats the value using the given formatter.

impl Error for Error
[src]

fn description(&self) -> &str

A short description of the error. Read more

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

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