Enum checksums::Error [] [src]

pub enum Error {
    NoError,
    OptionParsingError,
    HashLengthDiffers,
    HashesFileParsingFailure,
    NFilesDiffer(i32),
}

Enum representing each way the appication can fail.

Variants

No errors occured, everything executed correctly.

Parsing of command-line options failed.

Selected and saved hash lengths differ.

Parsing the hashes file failed.

The specified amount of files do not match.

Methods

impl Error
[src]

Get the executable exit value from an Error instance.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Error
[src]

impl Hash for Error
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for Error
[src]

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

This method tests for !=.

impl Eq for Error
[src]

impl From<i32> for Error
[src]

Performs the conversion.