Enum gtin_validate::gtin14::FixError [] [src]

pub enum FixError {
    NonAsciiString,
    TooLong,
    CheckDigitIncorrect,
}

Errors that make GTIN-14 correction impossible.

Variants

NonAsciiString

The provided string contains non-ASCII characters.

TooLong

The provided code was too long to be valid.

CheckDigitIncorrect

The calculated check-digit did not match the code's check-digit.

Trait Implementations

Derived Implementations

impl Debug for FixError

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