#[repr(C)]pub struct CacheOverride {
pub ttl: u32,
pub stale_while_revalidate: u32,
pub surrogate_keys: *const u8,
pub surrogate_keys_len: u32,
pub lookup_timeout_ms: u32,
}Expand description
Fields that can be overridden for guest caching.
Fields§
§ttl: u32§stale_while_revalidate: u32§surrogate_keys: *const u8§surrogate_keys_len: u32§lookup_timeout_ms: u32Trait Implementations§
Source§impl Default for CacheOverride
impl Default for CacheOverride
Source§fn default() -> CacheOverride
fn default() -> CacheOverride
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Send for CacheOverride
impl !Sync for CacheOverride
impl Freeze for CacheOverride
impl RefUnwindSafe for CacheOverride
impl Unpin for CacheOverride
impl UnsafeUnpin for CacheOverride
impl UnwindSafe for CacheOverride
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