Enum qrcode::types::QrError
[−]
[src]
pub enum QrError { DataTooLong, InvalidVersion, UnsupportedCharacterSet, InvalidEciDesignator, InvalidCharacter, }
QrError
encodes the error encountered when generating a QR code.
Variants
DataTooLong
The data is too long to encode into a QR code for the given version.
InvalidVersion
The provided version / error correction level combination is invalid.
UnsupportedCharacterSet
Some characters in the data cannot be supported by the provided QR code version.
InvalidEciDesignator
The provided ECI designator is invalid. A valid designator should be between 0 and 999999.
InvalidCharacter
A character not belonging to the character set is found.
Trait Implementations
impl Debug for QrError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for QrError
[src]
fn eq(&self, __arg_0: &QrError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for QrError
[src]
impl Copy for QrError
[src]
impl Clone for QrError
[src]
fn clone(&self) -> QrError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more