Enum gtin_validate::gtin14::FixError
source · pub enum FixError {
NonAsciiString,
TooLong,
CheckDigitIncorrect,
}
Expand description
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
impl Copy for FixError
impl Eq for FixError
impl StructuralEq for FixError
impl StructuralPartialEq for FixError
Auto Trait Implementations
impl RefUnwindSafe for FixError
impl Send for FixError
impl Sync for FixError
impl Unpin for FixError
impl UnwindSafe for FixError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more