Enum vm_topology::processor::InvalidTopology
source · pub enum InvalidTopology {
NoVps,
TooManyVps {
requested: u32,
max: u32,
},
ApicIdLimitExceeded(u32),
InvalidVpIndices,
StdIoError(Error),
}
Expand description
Error when building a ProcessorTopology
.
Variants§
NoVps
Failed to configure at least one VP.
TooManyVps
Too many virtual processors.
ApicIdLimitExceeded(u32)
Not all processors will be addressable in XAPIC mode.
InvalidVpIndices
VpInfo indices must be linear and start at 0
StdIoError(Error)
Failed to query the topology information from Device Tree.
Trait Implementations§
source§impl Debug for InvalidTopology
impl Debug for InvalidTopology
source§impl Display for InvalidTopology
impl Display for InvalidTopology
source§impl Error for InvalidTopology
impl Error for InvalidTopology
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 InvalidTopology
impl !RefUnwindSafe for InvalidTopology
impl Send for InvalidTopology
impl Sync for InvalidTopology
impl Unpin for InvalidTopology
impl !UnwindSafe for InvalidTopology
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