Enum vm_topology::processor::HostTopologyError
source · 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 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