pub struct TooManyCells {
pub cells: usize,
pub cap: usize,
pub cell_secs: f64,
pub held_secs: f64,
pub least_cell_secs: f64,
pub most_secs: f64,
}Expand description
least_cell_secs is the finest cell that fits the cap; most_secs the longest target
the cell asked fits.
Fields§
§cells: usize§cap: usize§cell_secs: f64§held_secs: f64§least_cell_secs: f64§most_secs: f64Trait Implementations§
Source§impl Clone for TooManyCells
impl Clone for TooManyCells
Source§fn clone(&self) -> TooManyCells
fn clone(&self) -> TooManyCells
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 TooManyCells
Source§impl Debug for TooManyCells
impl Debug for TooManyCells
Source§impl PartialEq for TooManyCells
impl PartialEq for TooManyCells
impl StructuralPartialEq for TooManyCells
Auto Trait Implementations§
impl Freeze for TooManyCells
impl RefUnwindSafe for TooManyCells
impl Send for TooManyCells
impl Sync for TooManyCells
impl Unpin for TooManyCells
impl UnsafeUnpin for TooManyCells
impl UnwindSafe for TooManyCells
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> 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