pub enum QuotaType {
NONE = 0,
FIFO = 1,
HARD = 2,
}Expand description
Quota type
NONE: No quota FIFO: When quota_size is reached, the oldest records are deleted HARD: When quota_size is reached, no more records can be added
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for QuotaType
impl<'de> Deserialize<'de> for QuotaType
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 StructuralPartialEq for QuotaType
Auto Trait Implementations§
impl Freeze for QuotaType
impl RefUnwindSafe for QuotaType
impl Send for QuotaType
impl Sync for QuotaType
impl Unpin for QuotaType
impl UnwindSafe for QuotaType
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