Enum quoted_printable::ParseMode
source · pub enum ParseMode {
Strict,
Robust,
}
Expand description
A flag that allows control over the decoding strictness.
Variants§
Strict
Perform strict checking over the input, and return an error if any input appears malformed.
Robust
Perform robust parsing, and gracefully handle any malformed input. This can result in the decoded output being different than what was intended.
Trait Implementations§
source§impl Ord for ParseMode
impl Ord for ParseMode
source§impl PartialEq<ParseMode> for ParseMode
impl PartialEq<ParseMode> for ParseMode
source§impl PartialOrd<ParseMode> for ParseMode
impl PartialOrd<ParseMode> for ParseMode
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for ParseMode
impl StructuralEq for ParseMode
impl StructuralPartialEq for ParseMode
Auto Trait Implementations§
impl RefUnwindSafe for ParseMode
impl Send for ParseMode
impl Sync for ParseMode
impl Unpin for ParseMode
impl UnwindSafe for ParseMode
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