pub enum Error {
NoError,
OptionParsingError,
HashLengthDiffers,
HashesFileParsingFailure,
NFilesDiffer(i32),
}
Expand description
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.
Implementations§
Trait Implementations§
source§impl PartialEq<Error> for Error
impl PartialEq<Error> for Error
impl Copy for Error
impl Eq for Error
impl StructuralEq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.