pub enum DedupCache {
Absolute(AbsoluteCapacity),
Relative(RelativeCapacity),
None,
}
Variants§
Implementations§
source§impl DedupCache
impl DedupCache
Trait Implementations§
source§impl Clone for DedupCache
impl Clone for DedupCache
source§fn clone(&self) -> DedupCache
fn clone(&self) -> DedupCache
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 moresource§impl Debug for DedupCache
impl Debug for DedupCache
source§impl<'de> Deserialize<'de> for DedupCache
impl<'de> Deserialize<'de> for DedupCache
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for DedupCache
impl Serialize for DedupCache
impl Copy for DedupCache
Auto Trait Implementations§
impl Freeze for DedupCache
impl RefUnwindSafe for DedupCache
impl Send for DedupCache
impl Sync for DedupCache
impl Unpin for DedupCache
impl UnwindSafe for DedupCache
Blanket Implementations§
§impl<T> Backup for Twhere
T: Clone,
impl<T> Backup for Twhere
T: Clone,
default unsafe fn backup_unchecked(&self) -> T
default unsafe fn __contracts_impl_backup_unchecked(&self) -> T
fn backup(&self) -> BackedUp<Self>
§impl<T> Backup for Twhere
T: Copy,
impl<T> Backup for Twhere
T: Copy,
unsafe fn __contracts_impl_backup_unchecked(&self) -> T
unsafe fn backup_unchecked(&self) -> Self
fn backup(&self) -> BackedUp<Self>
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
§impl<T> ExtractDiscriminant for T
impl<T> ExtractDiscriminant for T
§type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
The type of the discriminant, which must satisfy the trait bounds
required by
core::mem::Discriminant
. Read more