pub enum HostTopologyError {
NotFound,
UnsupportedThreadsPerCore(u32),
}Expand description
Error returned by TopologyBuilder::from_host_topology.
Variants§
NotFound
Could not find the host topology.
UnsupportedThreadsPerCore(u32)
The host topology has more than 2 threads per core.
Trait Implementations§
Source§impl Debug for HostTopologyError
impl Debug for HostTopologyError
Source§impl Display for HostTopologyError
impl Display for HostTopologyError
Source§impl Error for HostTopologyError
impl Error for HostTopologyError
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()
Auto Trait Implementations§
impl Freeze for HostTopologyError
impl RefUnwindSafe for HostTopologyError
impl Send for HostTopologyError
impl Sync for HostTopologyError
impl Unpin for HostTopologyError
impl UnsafeUnpin for HostTopologyError
impl UnwindSafe for HostTopologyError
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