#[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§impl Debug for CgroupIterOrder
impl Debug for CgroupIterOrder
Auto Trait Implementations§
impl Freeze for CgroupIterOrder
impl RefUnwindSafe for CgroupIterOrder
impl Send for CgroupIterOrder
impl Sync for CgroupIterOrder
impl Unpin for CgroupIterOrder
impl UnsafeUnpin 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