pub struct ByteCapacity(/* private fields */);Expand description
Marker type: byte-based capacity has been configured.
The cache will use at most n bytes (approximate), evicting least recently
used entries when the memory budget is exceeded.
Trait Implementations§
Source§impl Clone for ByteCapacity
impl Clone for ByteCapacity
Source§fn clone(&self) -> ByteCapacity
fn clone(&self) -> ByteCapacity
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 ByteCapacity
impl Debug for ByteCapacity
impl Copy for ByteCapacity
Auto Trait Implementations§
impl Freeze for ByteCapacity
impl RefUnwindSafe for ByteCapacity
impl Send for ByteCapacity
impl Sync for ByteCapacity
impl Unpin for ByteCapacity
impl UnwindSafe for ByteCapacity
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