Enum checksums::Error
[−]
[src]
pub enum Error { NoError, OptionParsingError, HashLengthDiffers, HashesFileParsingFailure, NFilesDiffer(i32), }
Enum representing each way the appication can fail.
Variants
NoError
No errors occured, everything executed correctly.
OptionParsingError
Parsing of command-line options failed.
HashLengthDiffers
Selected and saved hash lengths differ.
HashesFileParsingFailure
Parsing the hashes file failed.
NFilesDiffer(i32)
The specified amount of files do not match.
Methods
impl Error
[src]
fn exit_value(&self) -> i32
Get the executable exit value from an Error
instance.
Trait Implementations
impl Debug for Error
[src]
impl Clone for Error
[src]
fn clone(&self) -> Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for Error
[src]
impl Hash for Error
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Error) -> bool
This method tests for !=
.