pub fn print_qr<D: AsRef<[u8]>>(data: D) -> Result<(), QrError>
Print the given data
as QR code in the terminal.
Returns an error if generating the QR code failed.
qr2term::print_qr("https://rust-lang.org/").unwrap();
Panics if printing the QR code to the terminal failed.