#[non_exhaustive]pub enum AdmissionOutcome {
Allowed,
QuotaDenied,
ShadowDenied,
CapacityDenied,
Failed,
}Expand description
Classification of a completed admission operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Allowed
Quota was consumed successfully.
QuotaDenied
Quota exhaustion was enforced.
ShadowDenied
Quota exhaustion was observed but not enforced.
CapacityDenied
A hard storage bound denied admission.
Failed
The backend or input validation failed.
Trait Implementations§
Source§impl Clone for AdmissionOutcome
impl Clone for AdmissionOutcome
Source§fn clone(&self) -> AdmissionOutcome
fn clone(&self) -> AdmissionOutcome
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 AdmissionOutcome
Source§impl Debug for AdmissionOutcome
impl Debug for AdmissionOutcome
impl Eq for AdmissionOutcome
Source§impl PartialEq for AdmissionOutcome
impl PartialEq for AdmissionOutcome
impl StructuralPartialEq for AdmissionOutcome
Auto Trait Implementations§
impl Freeze for AdmissionOutcome
impl RefUnwindSafe for AdmissionOutcome
impl Send for AdmissionOutcome
impl Sync for AdmissionOutcome
impl Unpin for AdmissionOutcome
impl UnsafeUnpin for AdmissionOutcome
impl UnwindSafe for AdmissionOutcome
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