pub enum NamespaceDecision {
Allowed {
usage: NamespaceUsage,
view: ViewStatus,
},
Exhausted,
}Expand description
The namespace quota’s pure admission result.
Variants§
Allowed
Charge this exact local counter in the write batch.
Fields
§
usage: NamespaceUsageNew local cumulative usage.
§
view: ViewStatusWhether the view was usable.
Exhausted
Neither the write nor any quota state is allocated.
Trait Implementations§
Source§impl Clone for NamespaceDecision
impl Clone for NamespaceDecision
impl Copy for NamespaceDecision
Source§impl Debug for NamespaceDecision
impl Debug for NamespaceDecision
impl Eq for NamespaceDecision
Source§impl PartialEq for NamespaceDecision
impl PartialEq for NamespaceDecision
impl StructuralPartialEq for NamespaceDecision
Auto Trait Implementations§
impl Freeze for NamespaceDecision
impl RefUnwindSafe for NamespaceDecision
impl Send for NamespaceDecision
impl Sync for NamespaceDecision
impl Unpin for NamespaceDecision
impl UnsafeUnpin for NamespaceDecision
impl UnwindSafe for NamespaceDecision
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