Enum hwlocality::memory::attribute::InitiatorQueryError
source · pub enum InitiatorQueryError {
ForeignTarget(ForeignObjectError),
NoInitiators(Box<str>),
}
Available on crate feature
hwloc-2_3_0
only.Expand description
A query for memory attribute initiators is invalid
Variants§
ForeignTarget(ForeignObjectError)
The specified target
object does not belong to this topology
NoInitiators(Box<str>)
This memory attribute doesn’t have initiators
Trait Implementations§
source§impl Clone for InitiatorQueryError
impl Clone for InitiatorQueryError
source§fn clone(&self) -> InitiatorQueryError
fn clone(&self) -> InitiatorQueryError
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 InitiatorQueryError
impl Debug for InitiatorQueryError
source§impl Display for InitiatorQueryError
impl Display for InitiatorQueryError
source§impl Error for InitiatorQueryError
impl Error for InitiatorQueryError
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<'topology> From<&'topology TopologyObject> for InitiatorQueryError
impl<'topology> From<&'topology TopologyObject> for InitiatorQueryError
source§fn from(object: &'topology TopologyObject) -> Self
fn from(object: &'topology TopologyObject) -> Self
Converts to this type from the input type.
source§impl From<ForeignObjectError> for InitiatorQueryError
impl From<ForeignObjectError> for InitiatorQueryError
source§fn from(source: ForeignObjectError) -> Self
fn from(source: ForeignObjectError) -> Self
Converts to this type from the input type.
source§impl Hash for InitiatorQueryError
impl Hash for InitiatorQueryError
source§impl PartialEq for InitiatorQueryError
impl PartialEq for InitiatorQueryError
source§fn eq(&self, other: &InitiatorQueryError) -> bool
fn eq(&self, other: &InitiatorQueryError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InitiatorQueryError
impl StructuralPartialEq for InitiatorQueryError
Auto Trait Implementations§
impl Freeze for InitiatorQueryError
impl RefUnwindSafe for InitiatorQueryError
impl Send for InitiatorQueryError
impl Sync for InitiatorQueryError
impl Unpin for InitiatorQueryError
impl UnwindSafe for InitiatorQueryError
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