Enum fast_qr::qr::QRCodeError
source · pub enum QRCodeError {
EncodedData,
SpecifiedVersion,
}
Expand description
Contains different error when QRCode
could not be created
Variants§
EncodedData
If data if too large to be encoded (refer to Table 7-11 of the spec or an online table)
SpecifiedVersion
Specified version too small to contain data
Trait Implementations§
source§impl Debug for QRCodeError
impl Debug for QRCodeError
source§impl Display for QRCodeError
impl Display for QRCodeError
source§impl Error for QRCodeError
impl Error for QRCodeError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for QRCodeError
impl RefUnwindSafe for QRCodeError
impl Send for QRCodeError
impl Sync for QRCodeError
impl Unpin for QRCodeError
impl UnwindSafe for QRCodeError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more