pub struct ConfigureCacheRequestBuilder { /* private fields */ }
Expand description
Builder for ConfigureCacheRequest
.
Implementations§
source§impl ConfigureCacheRequestBuilder
impl ConfigureCacheRequestBuilder
pub fn mount<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
sourcepub fn size<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn size<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
Specifies the size in terms of number of entries. A size of 0 means unlimited. A Least Recently Used (LRU) caching strategy is used for a non-zero cache size. Must be 0 (default) or a value greater or equal to 10 (minimum cache size).
sourcepub fn build(
&self,
) -> Result<ConfigureCacheRequest, ConfigureCacheRequestBuilderError>
pub fn build( &self, ) -> Result<ConfigureCacheRequest, ConfigureCacheRequestBuilderError>
Trait Implementations§
source§impl Clone for ConfigureCacheRequestBuilder
impl Clone for ConfigureCacheRequestBuilder
source§fn clone(&self) -> ConfigureCacheRequestBuilder
fn clone(&self) -> ConfigureCacheRequestBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ConfigureCacheRequestBuilder
impl RefUnwindSafe for ConfigureCacheRequestBuilder
impl Send for ConfigureCacheRequestBuilder
impl Sync for ConfigureCacheRequestBuilder
impl Unpin for ConfigureCacheRequestBuilder
impl UnwindSafe for ConfigureCacheRequestBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)