#[non_exhaustive]#[repr(u32)]pub enum CgroupIterOrder {
Default = 0,
SelfOnly = 1,
DescendantsPre = 2,
DescendantsPost = 3,
AncestorsUp = 4,
}Expand description
Iteration order for cgroups.
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.
Default = 0
Use the default iteration order.
SelfOnly = 1
Process only a single object.
DescendantsPre = 2
Walk descendants in pre-order.
DescendantsPost = 3
Walk descendants in post-order.
AncestorsUp = 4
Walk ancestors upward.
Trait Implementations§
Source§impl Clone for CgroupIterOrder
impl Clone for CgroupIterOrder
Source§fn clone(&self) -> CgroupIterOrder
fn clone(&self) -> CgroupIterOrder
Returns a duplicate of the value. Read more
1.0.0 · 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 CgroupIterOrder
impl Debug for CgroupIterOrder
Source§impl Default for CgroupIterOrder
impl Default for CgroupIterOrder
Source§fn default() -> CgroupIterOrder
fn default() -> CgroupIterOrder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CgroupIterOrder
impl RefUnwindSafe for CgroupIterOrder
impl Send for CgroupIterOrder
impl Sync for CgroupIterOrder
impl Unpin for CgroupIterOrder
impl UnwindSafe for CgroupIterOrder
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