pub enum ParseQuality {
Failed,
Partial,
WithWarnings,
Clean,
}Expand description
A quality rating for a parse result.
Variants§
Failed
Parse failed completely.
Partial
Parse succeeded with recoverable errors.
WithWarnings
Parse succeeded with warnings only.
Clean
Parse succeeded cleanly.
Implementations§
Trait Implementations§
Source§impl Clone for ParseQuality
impl Clone for ParseQuality
Source§fn clone(&self) -> ParseQuality
fn clone(&self) -> ParseQuality
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParseQuality
impl Debug for ParseQuality
Source§impl Display for ParseQuality
impl Display for ParseQuality
Source§impl Ord for ParseQuality
impl Ord for ParseQuality
Source§fn cmp(&self, other: &ParseQuality) -> Ordering
fn cmp(&self, other: &ParseQuality) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ParseQuality
impl PartialEq for ParseQuality
Source§impl PartialOrd for ParseQuality
impl PartialOrd for ParseQuality
impl Copy for ParseQuality
impl Eq for ParseQuality
impl StructuralPartialEq for ParseQuality
Auto Trait Implementations§
impl Freeze for ParseQuality
impl RefUnwindSafe for ParseQuality
impl Send for ParseQuality
impl Sync for ParseQuality
impl Unpin for ParseQuality
impl UnsafeUnpin for ParseQuality
impl UnwindSafe for ParseQuality
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