Struct hwlocality::cpu::kind::NoData
source · pub struct NoData;
Available on crate feature
hwloc-2_4_0
only.Expand description
No information about CPU kinds was found
The reason this is an error rather than a None
option is that we know
there has to be at least one CPU kind in the system. hwloc just failed to
enumerate CPU kinds for some unknown reason.
Trait Implementations§
source§impl Error for NoData
impl Error for NoData
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 NoData
impl PartialEq for NoData
impl Copy for NoData
impl Eq for NoData
impl StructuralPartialEq for NoData
Auto Trait Implementations§
impl RefUnwindSafe for NoData
impl Send for NoData
impl Sync for NoData
impl Unpin for NoData
impl UnwindSafe for NoData
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