pub struct TranscodeStats {
pub tiles_transcoded: u64,
pub tiles_skipped_identity: u64,
pub bytes_before: u64,
pub bytes_after: u64,
}Expand description
Quantitative summary of a single transcode run.
Fields§
§tiles_transcoded: u64Number of tiles that were actually decompressed and recompressed.
tiles_skipped_identity: u64Number of tiles whose payload was passed through verbatim because the resolved source and target compression were identical.
bytes_before: u64Sum of compressed-on-input tile byte lengths.
bytes_after: u64Sum of compressed-on-output tile byte lengths.
Implementations§
Trait Implementations§
Source§impl Clone for TranscodeStats
impl Clone for TranscodeStats
Source§fn clone(&self) -> TranscodeStats
fn clone(&self) -> TranscodeStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TranscodeStats
Source§impl Debug for TranscodeStats
impl Debug for TranscodeStats
Source§impl Default for TranscodeStats
impl Default for TranscodeStats
Source§fn default() -> TranscodeStats
fn default() -> TranscodeStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TranscodeStats
impl RefUnwindSafe for TranscodeStats
impl Send for TranscodeStats
impl Sync for TranscodeStats
impl Unpin for TranscodeStats
impl UnsafeUnpin for TranscodeStats
impl UnwindSafe for TranscodeStats
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