quick_error!
{
#[derive(Debug)]
pub enum NumaSocketsDiscoveryError
{
CouldNotParseListFile(cause: ListParseError)
{
display("Could not parse NUMA nodes or CPUs list file ({})", cause)
cause(cause)
from()
}
CpuIsInMoreThanOneNumaNode(cpuIndex: usize)
{
display("CPU index '{}' is in more than one NUMA node", cpuIndex)
}
UnassignedCpuIndices(shouldNotContainAnyLogicalCoresWhenAllNumaNodesConsidered: LogicalCoresActive)
{
display("Unassigned CPU indices '{:?}'", shouldNotContainAnyLogicalCoresWhenAllNumaNodesConsidered)
}
}
}