pub struct EntryCapacity(/* private fields */);Expand description
Marker type: entry-count capacity has been configured.
The cache will hold at most n entries, evicting least recently used
entries when capacity is exceeded.
Trait Implementations§
Source§impl Clone for EntryCapacity
impl Clone for EntryCapacity
Source§fn clone(&self) -> EntryCapacity
fn clone(&self) -> EntryCapacity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EntryCapacity
impl Debug for EntryCapacity
impl Copy for EntryCapacity
Auto Trait Implementations§
impl Freeze for EntryCapacity
impl RefUnwindSafe for EntryCapacity
impl Send for EntryCapacity
impl Sync for EntryCapacity
impl Unpin for EntryCapacity
impl UnwindSafe for EntryCapacity
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