Struct hwlocality::object::search::MissingObjCpuSetError
source · pub struct MissingObjCpuSetError(/* private fields */);
Expand description
Error returned when a search algorithm that requires a cpuset is applied to an object that doesn’t have one.
The presence of a cpuset greatly simplifies some search algorithms as it allows asserting that an object is a child of another with simple bitmap operations, rather than requiring topology tree traversal. Therefore, relatively complex search operations may only be applied to objects with a cpuset (i.e. normal and memory objects) and will fail with this error if applied to other object types.
Trait Implementations§
source§impl Clone for MissingObjCpuSetError
impl Clone for MissingObjCpuSetError
source§fn clone(&self) -> MissingObjCpuSetError
fn clone(&self) -> MissingObjCpuSetError
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 MissingObjCpuSetError
impl Debug for MissingObjCpuSetError
source§impl Default for MissingObjCpuSetError
impl Default for MissingObjCpuSetError
source§fn default() -> MissingObjCpuSetError
fn default() -> MissingObjCpuSetError
Returns the “default value” for a type. Read more
source§impl Display for MissingObjCpuSetError
impl Display for MissingObjCpuSetError
source§impl Error for MissingObjCpuSetError
impl Error for MissingObjCpuSetError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<'topology> From<&'topology TopologyObject> for MissingObjCpuSetError
impl<'topology> From<&'topology TopologyObject> for MissingObjCpuSetError
source§fn from(object: &'topology TopologyObject) -> Self
fn from(object: &'topology TopologyObject) -> 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 MissingObjCpuSetError
impl PartialEq for MissingObjCpuSetError
impl Eq for MissingObjCpuSetError
impl StructuralPartialEq for MissingObjCpuSetError
Auto Trait Implementations§
impl Freeze for MissingObjCpuSetError
impl RefUnwindSafe for MissingObjCpuSetError
impl Send for MissingObjCpuSetError
impl Sync for MissingObjCpuSetError
impl Unpin for MissingObjCpuSetError
impl UnwindSafe for MissingObjCpuSetError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)