pub enum CacheLimit {
Auto,
Bytes(u64),
Disabled,
}Expand description
Decoded-page cache size policy.
Variants§
Auto
Use the platform’s conservative default cache size.
Bytes(u64)
Use an explicit maximum number of decoded page bytes.
Disabled
Disable decoded-page caching.
Trait Implementations§
Source§impl Clone for CacheLimit
impl Clone for CacheLimit
Source§fn clone(&self) -> CacheLimit
fn clone(&self) -> CacheLimit
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 CacheLimit
Source§impl Debug for CacheLimit
impl Debug for CacheLimit
impl Eq for CacheLimit
Source§impl PartialEq for CacheLimit
impl PartialEq for CacheLimit
impl StructuralPartialEq for CacheLimit
Auto Trait Implementations§
impl Freeze for CacheLimit
impl RefUnwindSafe for CacheLimit
impl Send for CacheLimit
impl Sync for CacheLimit
impl Unpin for CacheLimit
impl UnsafeUnpin for CacheLimit
impl UnwindSafe for CacheLimit
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