#[non_exhaustive]pub enum CpusetPartition {
Member,
Root,
Isolated,
}Expand description
Non-exhaustive: new systemd releases add values.
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.
Implementations§
Trait Implementations§
Source§impl Clone for CpusetPartition
impl Clone for CpusetPartition
impl Copy for CpusetPartition
Source§impl Debug for CpusetPartition
impl Debug for CpusetPartition
impl Eq for CpusetPartition
Source§impl From<CpusetPartition> for Variant<'_>
impl From<CpusetPartition> for Variant<'_>
Source§fn from(v: CpusetPartition) -> Self
fn from(v: CpusetPartition) -> Self
Converts to this type from the input type.
Source§impl FromStr for CpusetPartition
impl FromStr for CpusetPartition
Source§impl Hash for CpusetPartition
impl Hash for CpusetPartition
Source§impl PartialEq for CpusetPartition
impl PartialEq for CpusetPartition
impl StructuralPartialEq for CpusetPartition
Source§impl TryFrom<Variant<'_>> for CpusetPartition
impl TryFrom<Variant<'_>> for CpusetPartition
Auto Trait Implementations§
impl Freeze for CpusetPartition
impl RefUnwindSafe for CpusetPartition
impl Send for CpusetPartition
impl Sync for CpusetPartition
impl Unpin for CpusetPartition
impl UnsafeUnpin for CpusetPartition
impl UnwindSafe for CpusetPartition
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