Enum tlsh::TlshError [−][src]
pub enum TlshError { DataLenOverflow, InvalidHashValue, MinSizeNotReached, ParseHexFailed, }
Expand description
An enum for possible errors that might occur while calculating hash values.
Variants
Input’s length is too big to handle. Maximal file size is 4GB.
The hash string is malformed and cannot be parsed.
TLSH requires an input of at least 50 bytes.
Fails to parse a hex string to integer.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TlshError
impl UnwindSafe for TlshError