pub struct ConvertSummary {
pub total_files: u64,
pub candidates: u64,
pub already_utf8: u64,
pub converted: u64,
pub unknown: u64,
pub decode_errors: u64,
pub encode_errors: u64,
pub io_errors: u64,
pub too_large: u64,
pub fetch_error: u64,
}Expand description
convert / fetch summary.
already_utf8 counts files whose bytes were already byte-identical at the
selected target encoding (action == "unchanged") — the name is
historical and matches the default UTF-8 target.
Fields§
§total_files: u64§candidates: u64§already_utf8: u64§converted: u64§unknown: u64§decode_errors: u64§encode_errors: u64Content that decodes cleanly but cannot be encoded into the requested target without producing unreadable bytes (e.g. the UTF-16LE NUL guard); tracked separately from decode and I/O failures.
io_errors: u64§too_large: u64§fetch_error: u64Trait Implementations§
Source§impl Clone for ConvertSummary
impl Clone for ConvertSummary
Source§impl Debug for ConvertSummary
impl Debug for ConvertSummary
Source§impl Default for ConvertSummary
impl Default for ConvertSummary
Auto Trait Implementations§
impl Forget for ConvertSummary
impl Freeze for ConvertSummary
impl Move for ConvertSummary
impl RefUnwindSafe for ConvertSummary
impl Send for ConvertSummary
impl Sync for ConvertSummary
impl Unpin for ConvertSummary
impl UnsafeUnpin for ConvertSummary
impl UnwindSafe for ConvertSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more