pub enum StorageOverflowStrategy {
Reject,
EvictOldest,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for StorageOverflowStrategy
impl Clone for StorageOverflowStrategy
Source§fn clone(&self) -> StorageOverflowStrategy
fn clone(&self) -> StorageOverflowStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StorageOverflowStrategy
Source§impl Debug for StorageOverflowStrategy
impl Debug for StorageOverflowStrategy
Source§impl Default for StorageOverflowStrategy
impl Default for StorageOverflowStrategy
Source§fn default() -> StorageOverflowStrategy
fn default() -> StorageOverflowStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StorageOverflowStrategy
impl<'de> Deserialize<'de> for StorageOverflowStrategy
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
impl Eq for StorageOverflowStrategy
Source§impl PartialEq for StorageOverflowStrategy
impl PartialEq for StorageOverflowStrategy
Source§impl Serialize for StorageOverflowStrategy
impl Serialize for StorageOverflowStrategy
impl StructuralPartialEq for StorageOverflowStrategy
Auto Trait Implementations§
impl Freeze for StorageOverflowStrategy
impl RefUnwindSafe for StorageOverflowStrategy
impl Send for StorageOverflowStrategy
impl Sync for StorageOverflowStrategy
impl Unpin for StorageOverflowStrategy
impl UnsafeUnpin for StorageOverflowStrategy
impl UnwindSafe for StorageOverflowStrategy
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