pub struct ColdReadCacheConfig {
pub max_bytes: usize,
pub block_bytes: usize,
pub max_readahead_blocks: usize,
}Fields§
§max_bytes: usize§block_bytes: usize§max_readahead_blocks: usizeTrait Implementations§
Source§impl Clone for ColdReadCacheConfig
impl Clone for ColdReadCacheConfig
Source§fn clone(&self) -> ColdReadCacheConfig
fn clone(&self) -> ColdReadCacheConfig
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 ColdReadCacheConfig
Auto Trait Implementations§
impl Freeze for ColdReadCacheConfig
impl RefUnwindSafe for ColdReadCacheConfig
impl Send for ColdReadCacheConfig
impl Sync for ColdReadCacheConfig
impl Unpin for ColdReadCacheConfig
impl UnsafeUnpin for ColdReadCacheConfig
impl UnwindSafe for ColdReadCacheConfig
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