Enum hwlocality::topology::DistributeError
source · pub enum DistributeError {
EmptyRoots,
ForeignRoot(ForeignObjectError),
OverlappingRoots,
}
Expand description
Error returned by Topology::distribute_items()
Variants§
EmptyRoots
Error returned when the specified roots contain no accessible CPUs
This can happen if either an empty roots list is specified, or if the
topology was built with BuildFlags::INCLUDE_DISALLOWED
and the
specified roots only contain disallowed CPUs.
ForeignRoot(ForeignObjectError)
Some of the specified roots do not belong to this topology
OverlappingRoots
Specified roots overlap ith each other
Trait Implementations§
source§impl Clone for DistributeError
impl Clone for DistributeError
source§fn clone(&self) -> DistributeError
fn clone(&self) -> DistributeError
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 DistributeError
impl Debug for DistributeError
source§impl Display for DistributeError
impl Display for DistributeError
source§impl Error for DistributeError
impl Error for DistributeError
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 From<ForeignObjectError> for DistributeError
impl From<ForeignObjectError> for DistributeError
source§fn from(source: ForeignObjectError) -> Self
fn from(source: ForeignObjectError) -> Self
Converts to this type from the input type.
source§impl Hash for DistributeError
impl Hash for DistributeError
source§impl PartialEq for DistributeError
impl PartialEq for DistributeError
source§fn eq(&self, other: &DistributeError) -> bool
fn eq(&self, other: &DistributeError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DistributeError
impl StructuralPartialEq for DistributeError
Auto Trait Implementations§
impl Freeze for DistributeError
impl RefUnwindSafe for DistributeError
impl Send for DistributeError
impl Sync for DistributeError
impl Unpin for DistributeError
impl UnwindSafe for DistributeError
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