#[non_exhaustive]pub struct CacheOptionOverrides {
pub wait_timeout: Option<Duration>,
pub max_lock_retries: Option<usize>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.wait_timeout: Option<Duration>How long a cache lock reader should wait before giving up.
max_lock_retries: Option<usize>How many times a cache lock reader should retry lookup after waiting on a lock.
Trait Implementations§
Source§impl Debug for CacheOptionOverrides
impl Debug for CacheOptionOverrides
Source§impl Default for CacheOptionOverrides
impl Default for CacheOptionOverrides
Source§fn default() -> CacheOptionOverrides
fn default() -> CacheOptionOverrides
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CacheOptionOverrides
impl RefUnwindSafe for CacheOptionOverrides
impl Send for CacheOptionOverrides
impl Sync for CacheOptionOverrides
impl Unpin for CacheOptionOverrides
impl UnsafeUnpin for CacheOptionOverrides
impl UnwindSafe for CacheOptionOverrides
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