qrcode 0.0.2

QR code encoder in Rust


/*

/// The error correction level. QR code contains redundant bits to allow correct
/// information be recovered even if some parts of code are damaged.
///
pub enum ErrorCorrectionLevel {
    /// Low error correction. Allows up to 7% of wrong blocks.
    L = 0,

    /// Medium error correction (default). Allows up to 15% of wrong blocks.
    M = 1,

    /// "Quartile" error correction. Allows up to 25% of wrong blocks.
    Q = 2,

    /// High error correction. Allows up to 30% of wrong blocks.
    H = 3,
}




*/