pub enum DtError {
NoDeviceTree,
DeviceTree(Error<'static>),
CommandLineSize,
Vtl2Vmbus,
Vtl0Vmbus,
NotEnoughVtl0Mmio,
NotEnoughVtl2Mmio,
}Expand description
Errors when reading the host device tree.
Variants§
NoDeviceTree
Host did not provide a device tree.
DeviceTree(Error<'static>)
Invalid device tree.
CommandLineSize
PartitionInfo’s command line is too small to write the parsed legacy command line.
Vtl2Vmbus
Device tree did not contain a vmbus node for VTL2.
Vtl0Vmbus
Device tree did not contain a vmbus node for VTL0.
NotEnoughVtl0Mmio
Host provided high MMIO range is insufficient to cover VTL0 and VTL2.
NotEnoughVtl2Mmio
Host provided MMIO range is insufficient to cover VTL2.
Trait Implementations§
Source§impl Error for DtError
impl Error for DtError
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 DtError
impl RefUnwindSafe for DtError
impl Send for DtError
impl Sync for DtError
impl Unpin for DtError
impl UnwindSafe for DtError
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