Struct hwlocality::cpu::cpuset::CoarsestPartitionError
source · pub struct CoarsestPartitionError {
pub query: CpuSet,
pub root: CpuSet,
}
Expand description
Topology::coarsest_cpuset_partition()
was called for an invalid cpuset
This error is returned when the input cpuset
is not a subset of the root
(topology-wide) cpuset. In that case, it is impossible to find topology
objects covering all of the input cpuset.
Fields§
§query: CpuSet
Requested cpuset
root: CpuSet
Root cpuset covering all CPUs in the topology
Trait Implementations§
source§impl Clone for CoarsestPartitionError
impl Clone for CoarsestPartitionError
source§fn clone(&self) -> CoarsestPartitionError
fn clone(&self) -> CoarsestPartitionError
Returns a copy 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 CoarsestPartitionError
impl Debug for CoarsestPartitionError
source§impl Default for CoarsestPartitionError
impl Default for CoarsestPartitionError
source§fn default() -> CoarsestPartitionError
fn default() -> CoarsestPartitionError
Returns the “default value” for a type. Read more
source§impl Display for CoarsestPartitionError
impl Display for CoarsestPartitionError
source§impl Error for CoarsestPartitionError
impl Error for CoarsestPartitionError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq for CoarsestPartitionError
impl PartialEq for CoarsestPartitionError
source§fn eq(&self, other: &CoarsestPartitionError) -> bool
fn eq(&self, other: &CoarsestPartitionError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CoarsestPartitionError
impl StructuralPartialEq for CoarsestPartitionError
Auto Trait Implementations§
impl RefUnwindSafe for CoarsestPartitionError
impl Send for CoarsestPartitionError
impl Sync for CoarsestPartitionError
impl Unpin for CoarsestPartitionError
impl UnwindSafe for CoarsestPartitionError
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