pub struct HybridCacheProperties { /* private fields */ }Expand description
Entry properties for in-memory only cache.
Implementations§
Source§impl HybridCacheProperties
impl HybridCacheProperties
Sourcepub fn with_location(self, location: Location) -> Self
pub fn with_location(self, location: Location) -> Self
Set entry location advice.
Trait Implementations§
Source§impl Clone for HybridCacheProperties
impl Clone for HybridCacheProperties
Source§fn clone(&self) -> HybridCacheProperties
fn clone(&self) -> HybridCacheProperties
Returns a duplicate 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 moreSource§impl Debug for HybridCacheProperties
impl Debug for HybridCacheProperties
Source§impl Default for HybridCacheProperties
impl Default for HybridCacheProperties
Source§fn default() -> HybridCacheProperties
fn default() -> HybridCacheProperties
Returns the “default value” for a type. Read more
Source§impl Properties for HybridCacheProperties
impl Properties for HybridCacheProperties
Source§fn with_phantom(self, phantom: bool) -> Self
fn with_phantom(self, phantom: bool) -> Self
Set entry as a phantom entry. Read more
Source§fn with_location(self, location: Location) -> Self
fn with_location(self, location: Location) -> Self
Set entry location.
Auto Trait Implementations§
impl Freeze for HybridCacheProperties
impl RefUnwindSafe for HybridCacheProperties
impl Send for HybridCacheProperties
impl Sync for HybridCacheProperties
impl Unpin for HybridCacheProperties
impl UnwindSafe for HybridCacheProperties
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more