#[non_exhaustive]pub enum PidsLimitKind {
Unlimited,
Finite {
decimal: String,
},
Zero,
Expression,
Other,
}Expand description
The semantic family of a service-level Compose PID limit.
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.
Unlimited
No PID limit, authored as -1.
Finite
A positive integral decimal retained without fixed-width parsing or normalization.
Zero
An all-zero integral spelling retained as an ambiguous and unportable native state.
Expression
A scalar that still contains a Compose interpolation marker.
Other
A fractional, signed, exponent, or otherwise unsupported scalar retained for diagnostics.
Trait Implementations§
Source§impl Clone for PidsLimitKind
impl Clone for PidsLimitKind
Source§fn clone(&self) -> PidsLimitKind
fn clone(&self) -> PidsLimitKind
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 moreSource§impl Debug for PidsLimitKind
impl Debug for PidsLimitKind
impl Eq for PidsLimitKind
Source§impl PartialEq for PidsLimitKind
impl PartialEq for PidsLimitKind
impl StructuralPartialEq for PidsLimitKind
Auto Trait Implementations§
impl Freeze for PidsLimitKind
impl RefUnwindSafe for PidsLimitKind
impl Send for PidsLimitKind
impl Sync for PidsLimitKind
impl Unpin for PidsLimitKind
impl UnsafeUnpin for PidsLimitKind
impl UnwindSafe for PidsLimitKind
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