pub struct SpillCounters { /* private fields */ }Expand description
Spill activity counters.
Implementations§
Source§impl SpillCounters
impl SpillCounters
Sourcepub fn record_demotion(&self, bytes: u64)
pub fn record_demotion(&self, bytes: u64)
Records a batch moving to a colder tier.
Sourcepub fn record_promotion(&self, bytes: u64)
pub fn record_promotion(&self, bytes: u64)
Records a batch moving to a hotter tier.
Sourcepub fn snapshot(&self) -> SpillSnapshot
pub fn snapshot(&self) -> SpillSnapshot
Point-in-time copy.
Trait Implementations§
Source§impl Debug for SpillCounters
impl Debug for SpillCounters
Source§impl Default for SpillCounters
impl Default for SpillCounters
Source§fn default() -> SpillCounters
fn default() -> SpillCounters
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for SpillCounters
impl RefUnwindSafe for SpillCounters
impl Send for SpillCounters
impl Sync for SpillCounters
impl Unpin for SpillCounters
impl UnsafeUnpin for SpillCounters
impl UnwindSafe for SpillCounters
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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