pub enum QuotaResource {
FileCount {
current: usize,
max: usize,
},
TotalSize {
current: u64,
max: u64,
},
FileSize {
size: u64,
max: u64,
},
IntegerOverflow,
}Expand description
Represents a specific quota resource that was exceeded.
Variants§
FileCount
File count quota exceeded.
TotalSize
Total size quota exceeded.
FileSize
Single file size quota exceeded.
IntegerOverflow
Integer overflow detected in quota tracking.
Trait Implementations§
Source§impl Clone for QuotaResource
impl Clone for QuotaResource
Source§fn clone(&self) -> QuotaResource
fn clone(&self) -> QuotaResource
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 QuotaResource
impl Debug for QuotaResource
Source§impl Display for QuotaResource
impl Display for QuotaResource
Source§impl PartialEq for QuotaResource
impl PartialEq for QuotaResource
impl Eq for QuotaResource
impl StructuralPartialEq for QuotaResource
Auto Trait Implementations§
impl Freeze for QuotaResource
impl RefUnwindSafe for QuotaResource
impl Send for QuotaResource
impl Sync for QuotaResource
impl Unpin for QuotaResource
impl UnwindSafe for QuotaResource
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.