Enum hwlocality::object::search::ClosestObjectsError
source · pub enum ClosestObjectsError {
ForeignObject(ForeignObjectError),
MissingCpuSet(MissingObjCpuSetError),
}
Expand description
Error returned by Topology::objects_closest_to()
Variants§
ForeignObject(ForeignObjectError)
Target object does not belong to this topology
MissingCpuSet(MissingObjCpuSetError)
Target object does not have a cpuset and this search requires one
Trait Implementations§
source§impl Clone for ClosestObjectsError
impl Clone for ClosestObjectsError
source§fn clone(&self) -> ClosestObjectsError
fn clone(&self) -> ClosestObjectsError
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 ClosestObjectsError
impl Debug for ClosestObjectsError
source§impl Display for ClosestObjectsError
impl Display for ClosestObjectsError
source§impl Error for ClosestObjectsError
impl Error for ClosestObjectsError
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 ClosestObjectsError
impl From<ForeignObjectError> for ClosestObjectsError
source§fn from(source: ForeignObjectError) -> Self
fn from(source: ForeignObjectError) -> Self
Converts to this type from the input type.
source§impl From<MissingObjCpuSetError> for ClosestObjectsError
impl From<MissingObjCpuSetError> for ClosestObjectsError
source§fn from(source: MissingObjCpuSetError) -> Self
fn from(source: MissingObjCpuSetError) -> Self
Converts to this type from the input type.
source§impl PartialEq for ClosestObjectsError
impl PartialEq for ClosestObjectsError
source§fn eq(&self, other: &ClosestObjectsError) -> bool
fn eq(&self, other: &ClosestObjectsError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ClosestObjectsError
impl StructuralPartialEq for ClosestObjectsError
Auto Trait Implementations§
impl Freeze for ClosestObjectsError
impl RefUnwindSafe for ClosestObjectsError
impl Send for ClosestObjectsError
impl Sync for ClosestObjectsError
impl Unpin for ClosestObjectsError
impl UnwindSafe for ClosestObjectsError
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