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