#[non_exhaustive]pub enum ProjectUlimitValue {
Single(ProjectValue<ProjectUlimitScalar>),
Range(ProjectUlimitRange),
}Expand description
The effective single or soft/hard form of one named ulimit.
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.
Single(ProjectValue<ProjectUlimitScalar>)
One scalar applies to both the soft and hard limit.
Range(ProjectUlimitRange)
Soft and hard members remain independently source-aware.
Trait Implementations§
Source§impl Clone for ProjectUlimitValue
impl Clone for ProjectUlimitValue
Source§fn clone(&self) -> ProjectUlimitValue
fn clone(&self) -> ProjectUlimitValue
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 ProjectUlimitValue
impl Debug for ProjectUlimitValue
impl Eq for ProjectUlimitValue
Source§impl PartialEq for ProjectUlimitValue
impl PartialEq for ProjectUlimitValue
impl StructuralPartialEq for ProjectUlimitValue
Auto Trait Implementations§
impl Freeze for ProjectUlimitValue
impl RefUnwindSafe for ProjectUlimitValue
impl Send for ProjectUlimitValue
impl Sync for ProjectUlimitValue
impl Unpin for ProjectUlimitValue
impl UnsafeUnpin for ProjectUlimitValue
impl UnwindSafe for ProjectUlimitValue
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