pub enum NUMA {
NodeMem(NUMANodeMem),
NodeMemDev(NUMANodeMemDev),
Dist(NUMADist),
Cpu(NUMACPU),
HMATLB(NUMAHMATLb),
HMATCache(NUMAHMATCache),
}Expand description
A supported -numa clause.
The parser accepts the same comma-separated forms that this crate renders for node, distance, CPU, and HMAT entries.
Variants§
NodeMem(NUMANodeMem)
NodeMemDev(NUMANodeMemDev)
Dist(NUMADist)
Cpu(NUMACPU)
HMATLB(NUMAHMATLb)
HMATCache(NUMAHMATCache)
Trait Implementations§
Source§impl Arbitrary for NUMA
impl Arbitrary for NUMA
Source§type Parameters = (<NUMANodeMem as Arbitrary>::Parameters, <NUMANodeMemDev as Arbitrary>::Parameters, <NUMADist as Arbitrary>::Parameters, <NUMACPU as Arbitrary>::Parameters, <NUMAHMATLb as Arbitrary>::Parameters, <NUMAHMATCache as Arbitrary>::Parameters)
type Parameters = (<NUMANodeMem as Arbitrary>::Parameters, <NUMANodeMemDev as Arbitrary>::Parameters, <NUMADist as Arbitrary>::Parameters, <NUMACPU as Arbitrary>::Parameters, <NUMAHMATLb as Arbitrary>::Parameters, <NUMAHMATCache as Arbitrary>::Parameters)
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = TupleUnion<((u32, Arc<Map<<NUMANodeMem as Arbitrary>::Strategy, fn(NUMANodeMem) -> NUMA>>), (u32, Arc<Map<<NUMANodeMemDev as Arbitrary>::Strategy, fn(NUMANodeMemDev) -> NUMA>>), (u32, Arc<Map<<NUMADist as Arbitrary>::Strategy, fn(NUMADist) -> NUMA>>), (u32, Arc<Map<<NUMACPU as Arbitrary>::Strategy, fn(NUMACPU) -> NUMA>>), (u32, Arc<Map<<NUMAHMATLb as Arbitrary>::Strategy, fn(NUMAHMATLb) -> NUMA>>), (u32, Arc<Map<<NUMAHMATCache as Arbitrary>::Strategy, fn(NUMAHMATCache) -> NUMA>>))>
type Strategy = TupleUnion<((u32, Arc<Map<<NUMANodeMem as Arbitrary>::Strategy, fn(NUMANodeMem) -> NUMA>>), (u32, Arc<Map<<NUMANodeMemDev as Arbitrary>::Strategy, fn(NUMANodeMemDev) -> NUMA>>), (u32, Arc<Map<<NUMADist as Arbitrary>::Strategy, fn(NUMADist) -> NUMA>>), (u32, Arc<Map<<NUMACPU as Arbitrary>::Strategy, fn(NUMACPU) -> NUMA>>), (u32, Arc<Map<<NUMAHMATLb as Arbitrary>::Strategy, fn(NUMAHMATLb) -> NUMA>>), (u32, Arc<Map<<NUMAHMATCache as Arbitrary>::Strategy, fn(NUMAHMATCache) -> NUMA>>))>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Ord for NUMA
impl Ord for NUMA
Source§impl PartialOrd for NUMA
impl PartialOrd for NUMA
Source§impl ToCommand for NUMA
impl ToCommand for NUMA
Source§fn command(&self) -> String
fn command(&self) -> String
Convert to a type suitable to pass to
std::process::Command::new()Source§fn to_args(&self) -> Vec<String>
fn to_args(&self) -> Vec<String>
Convert to a type suitable to pass to
std::process::Command::args()fn has_args(&self) -> bool
Source§fn to_command(&self) -> Vec<String>
fn to_command(&self) -> Vec<String>
Construct the full command in keep in pieces
Source§fn to_single_command(&self) -> String
fn to_single_command(&self) -> String
Construct the full command as a single
StringSource§fn to_single_arg(&self) -> String
fn to_single_arg(&self) -> String
Construct only the args as a single
Stringimpl Eq for NUMA
impl StructuralPartialEq for NUMA
Auto Trait Implementations§
impl Freeze for NUMA
impl RefUnwindSafe for NUMA
impl Send for NUMA
impl Sync for NUMA
impl Unpin for NUMA
impl UnsafeUnpin for NUMA
impl UnwindSafe for NUMA
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