[−][src]Enum quoted_printable::QuotedPrintableError
An error type that represents different kinds of decoding errors.
Variants
InvalidByte
A byte was found in the input that was outside of the allowed range. The allowed range is the horizontal tab (ASCII 0x09), CR/LF characters (ASCII 0x0D and 0x0A), and anything in the ASCII range 0x20 to 0x7E, inclusive.
LineTooLong
Lines where found in the input that exceeded 76 bytes in length, excluding the terminating CRLF.
IncompleteHexOctet
An '=' character was found in the input without the proper number of hex-characters following it. This includes '=' characters followed by a single character and then the CRLF pair, for example.
InvalidHexOctet
An '=' character was found with two following characters, but they were not hex characters. '=Hi' for example would be an invalid encoding.
LowercaseHexOctet
An '=' character was found with two following hex characters, but the hex characters were lowercase rather than uppercase. The spec explicitly requires uppercase hex to be used, so this is considered an error.
Trait Implementations
impl Display for QuotedPrintableError
[src]
impl Debug for QuotedPrintableError
[src]
impl Error for QuotedPrintableError
[src]
Auto Trait Implementations
impl Send for QuotedPrintableError
impl Sync for QuotedPrintableError
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,