pub struct CsCapacity {
pub max_bytes: usize,
}Expand description
Capacity of a content store.
Fields§
§max_bytes: usizeMaximum bytes the store will hold.
Implementations§
Trait Implementations§
Source§impl Clone for CsCapacity
impl Clone for CsCapacity
Source§fn clone(&self) -> CsCapacity
fn clone(&self) -> CsCapacity
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 CsCapacity
impl Debug for CsCapacity
impl Copy for CsCapacity
Auto Trait Implementations§
impl Freeze for CsCapacity
impl RefUnwindSafe for CsCapacity
impl Send for CsCapacity
impl Sync for CsCapacity
impl Unpin for CsCapacity
impl UnwindSafe for CsCapacity
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