pub struct WriteStats {
pub ok: usize,
pub failed: usize,
}Expand description
Outcome of a parallel-writer run: how many units were written and how many failed (a failed unit is logged to stderr and skipped, never aborting the siblings).
Fields§
§ok: usizeUnits decoded and written successfully.
failed: usizeUnits that failed to read/decode/write (skipped, logged).
Trait Implementations§
Source§impl Clone for WriteStats
impl Clone for WriteStats
Source§fn clone(&self) -> WriteStats
fn clone(&self) -> WriteStats
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 WriteStats
Source§impl Debug for WriteStats
impl Debug for WriteStats
Source§impl Default for WriteStats
impl Default for WriteStats
Source§fn default() -> WriteStats
fn default() -> WriteStats
Returns the “default value” for a type. Read more
impl Eq for WriteStats
Source§impl PartialEq for WriteStats
impl PartialEq for WriteStats
impl StructuralPartialEq for WriteStats
Auto Trait Implementations§
impl Freeze for WriteStats
impl RefUnwindSafe for WriteStats
impl Send for WriteStats
impl Sync for WriteStats
impl Unpin for WriteStats
impl UnsafeUnpin for WriteStats
impl UnwindSafe for WriteStats
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