pub struct SpillStats {
pub spilled_chunks: AtomicUsize,
pub spilled_records: AtomicUsize,
pub fetched_chunks: AtomicUsize,
pub bytes_written: AtomicUsize,
}Expand description
Cumulative spill counters, shared (via Arc) so a run can sum across workers.
Fields§
§spilled_chunks: AtomicUsizeChunks paged out.
spilled_records: AtomicUsizeRecords (updates) in paged-out chunks.
fetched_chunks: AtomicUsizeChunks fetched back in.
bytes_written: AtomicUsizeSerialized bytes written.
Trait Implementations§
Source§impl Default for SpillStats
impl Default for SpillStats
Source§fn default() -> SpillStats
fn default() -> SpillStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for SpillStats
impl RefUnwindSafe for SpillStats
impl Send for SpillStats
impl Sync for SpillStats
impl Unpin for SpillStats
impl UnsafeUnpin for SpillStats
impl UnwindSafe for SpillStats
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> 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 moreSource§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
Source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
The method of
std::ops::AddAssign, for types that do not implement AddAssign.