Struct hwlocality::cpu::kind::FromSetError
source · pub struct FromSetError(pub CpuSet, pub FromSetProblem);
Available on crate feature
hwloc-2_4_0
only.Expand description
Error while querying a CPU kind from a CPU set
Tuple Fields§
§0: CpuSet
§1: FromSetProblem
Trait Implementations§
source§impl Clone for FromSetError
impl Clone for FromSetError
source§fn clone(&self) -> FromSetError
fn clone(&self) -> FromSetError
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 FromSetError
impl Debug for FromSetError
source§impl Display for FromSetError
impl Display for FromSetError
source§impl Error for FromSetError
impl Error for FromSetError
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 Hash for FromSetError
impl Hash for FromSetError
source§impl PartialEq for FromSetError
impl PartialEq for FromSetError
source§fn eq(&self, other: &FromSetError) -> bool
fn eq(&self, other: &FromSetError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FromSetError
impl StructuralPartialEq for FromSetError
Auto Trait Implementations§
impl RefUnwindSafe for FromSetError
impl Send for FromSetError
impl Sync for FromSetError
impl Unpin for FromSetError
impl UnwindSafe for FromSetError
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