pub enum FixError {
NonAsciiString,
TooLong,
CheckDigitIncorrect,
}Expand description
Errors that make GTIN-8 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 StructuralPartialEq for FixError
Auto Trait Implementations§
impl Freeze for FixError
impl RefUnwindSafe for FixError
impl Send for FixError
impl Sync for FixError
impl Unpin for FixError
impl UnsafeUnpin for FixError
impl UnwindSafe for FixError
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