pub struct CacheSettings { /* private fields */ }Expand description
CacheSettings for internal BMC cache with etags
Implementations§
Source§impl CacheSettings
impl CacheSettings
Sourcepub const fn with_capacity(capacity: usize) -> CacheSettings
pub const fn with_capacity(capacity: usize) -> CacheSettings
Define capacity of the cache measured in number of items.
Trait Implementations§
Source§impl Clone for CacheSettings
impl Clone for CacheSettings
Source§fn clone(&self) -> CacheSettings
fn clone(&self) -> CacheSettings
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 CacheSettings
Source§impl Default for CacheSettings
impl Default for CacheSettings
Source§fn default() -> CacheSettings
fn default() -> CacheSettings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CacheSettings
impl RefUnwindSafe for CacheSettings
impl Send for CacheSettings
impl Sync for CacheSettings
impl Unpin for CacheSettings
impl UnsafeUnpin for CacheSettings
impl UnwindSafe for CacheSettings
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