pub enum CoverageReason {
Analyzed,
Binary,
InvalidUtf8,
UnsupportedEncoding,
Unsupported,
IoError,
ChangedDuringRead,
TextOnly,
}Expand description
Why a requested file did or did not produce metrics.
Variants§
Analyzed
Requested analyzers completed.
Binary
Known binary type or a NUL byte made text metrics inapplicable.
InvalidUtf8
Input was not valid UTF-8.
UnsupportedEncoding
A recognized Unicode byte-order mark names an encoding no analyzer decodes.
Unsupported
No shipped analyzer accepts this type.
IoError
File I/O failed; the human error is retained separately.
ChangedDuringRead
Metadata changed while the file was being read.
TextOnly
The unit produced a value by counting the file as plain text rather than as the document it is: a Markdown file over the exact bound under the words unit, whose every word is counted visible and whose paragraphs are its blank-line runs.
Trait Implementations§
Source§impl Clone for CoverageReason
impl Clone for CoverageReason
impl Copy for CoverageReason
Source§impl Debug for CoverageReason
impl Debug for CoverageReason
impl Eq for CoverageReason
Source§impl Hash for CoverageReason
impl Hash for CoverageReason
Source§impl Ord for CoverageReason
impl Ord for CoverageReason
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CoverageReason
impl PartialEq for CoverageReason
Source§impl PartialOrd for CoverageReason
impl PartialOrd for CoverageReason
impl StructuralPartialEq for CoverageReason
Auto Trait Implementations§
impl Freeze for CoverageReason
impl RefUnwindSafe for CoverageReason
impl Send for CoverageReason
impl Sync for CoverageReason
impl Unpin for CoverageReason
impl UnsafeUnpin for CoverageReason
impl UnwindSafe for CoverageReason
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