pub enum StringInputError {
ContainsNul,
Invalid,
}Expand description
Invalid text was specified as the topology source
Variants§
ContainsNul
Input string contains NUL chars and hwloc cannot handle that
Invalid
Hwloc rejected the input string as invalid for the specified input type
Trait Implementations§
Source§impl Clone for StringInputError
impl Clone for StringInputError
Source§fn clone(&self) -> StringInputError
fn clone(&self) -> StringInputError
Returns a duplicate 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 StringInputError
impl Debug for StringInputError
Source§impl Display for StringInputError
impl Display for StringInputError
Source§impl Error for StringInputError
impl Error for StringInputError
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 From<NulError> for StringInputError
impl From<NulError> for StringInputError
Source§impl Hash for StringInputError
impl Hash for StringInputError
Source§impl PartialEq for StringInputError
impl PartialEq for StringInputError
impl Copy for StringInputError
impl Eq for StringInputError
impl StructuralPartialEq for StringInputError
Auto Trait Implementations§
impl Freeze for StringInputError
impl RefUnwindSafe for StringInputError
impl Send for StringInputError
impl Sync for StringInputError
impl Unpin for StringInputError
impl UnwindSafe for StringInputError
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