pub struct CacheManagerOptions { /* private fields */ }
Expand description
Options for the CacheManager.
Implementations§
Source§impl CacheManagerOptions
impl CacheManagerOptions
Sourcepub fn builder() -> CacheManagerOptionsBuilder<((), (), ())>
pub fn builder() -> CacheManagerOptionsBuilder<((), (), ())>
Create a builder for building CacheManagerOptions
.
On the builder, call .path(...)
, .use_compression(...)
(optional), .use_temporary(...)
(optional) to set the values of the fields (they accept Into
values).
Finally, call .build()
to create the instance of CacheManagerOptions
.
Auto Trait Implementations§
impl Freeze for CacheManagerOptions
impl RefUnwindSafe for CacheManagerOptions
impl Send for CacheManagerOptions
impl Sync for CacheManagerOptions
impl Unpin for CacheManagerOptions
impl UnwindSafe for CacheManagerOptions
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