Enum qrcode::types::QrError [] [src]

pub enum QrError {
    DataTooLong,
    InvalidVersion,
    UnsupportedCharacterSet,
    InvalidEciDesignator,
    InvalidCharacter,
}

QrError encodes the error encountered when generating a QR code.

Variants

The data is too long to encode into a QR code for the given version.

The provided version / error correction level combination is invalid.

Some characters in the data cannot be supported by the provided QR code version.

The provided ECI designator is invalid. A valid designator should be between 0 and 999999.

A character not belonging to the character set is found.

Trait Implementations

impl Debug for QrError
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for QrError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for QrError
[src]

impl Copy for QrError
[src]

impl Clone for QrError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Display for QrError
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for QrError

impl Sync for QrError