pub enum PlacementRejection {
CapabilityUnavailable,
RuntimeModeMismatch,
Unhealthy,
OperationalMode,
Unavailable,
LeadershipRequired,
AtCapacity,
AffinityMismatch,
InsufficientCpu,
InsufficientMemory,
InsufficientGpu,
}Expand description
Stable reason that made a placement candidate ineligible.
Variants§
Required capability is absent.
RuntimeModeMismatch
Standalone/cluster mode differs.
Unhealthy
Candidate is unhealthy.
OperationalMode
Operational mode disallows the requested work.
Scheduling profile marks the candidate unavailable.
LeadershipRequired
Required service lease is absent.
AtCapacity
Concurrency capacity is exhausted.
AffinityMismatch
Required affinity labels are absent.
InsufficientCpu
CPU request exceeds the profile.
InsufficientMemory
Memory request exceeds the profile.
InsufficientGpu
GPU request exceeds the profile.
Trait Implementations§
Source§impl Clone for PlacementRejection
impl Clone for PlacementRejection
Source§fn clone(&self) -> PlacementRejection
fn clone(&self) -> PlacementRejection
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 PlacementRejection
Source§impl Debug for PlacementRejection
impl Debug for PlacementRejection
impl Eq for PlacementRejection
Source§impl PartialEq for PlacementRejection
impl PartialEq for PlacementRejection
impl StructuralPartialEq for PlacementRejection
Auto Trait Implementations§
impl Freeze for PlacementRejection
impl RefUnwindSafe for PlacementRejection
impl Send for PlacementRejection
impl Sync for PlacementRejection
impl Unpin for PlacementRejection
impl UnsafeUnpin for PlacementRejection
impl UnwindSafe for PlacementRejection
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