pub enum HandoffError {
InvalidMagic,
UnsupportedVersion,
SizeMismatch,
InvalidTscFreq,
DmaRegionTooSmall,
DmaCpuPtrNull,
DmaBusAddrZero,
StackTooSmall,
StackTopNull,
NoNic,
NicMmioZero,
}Expand description
Errors during handoff validation.
Variants§
InvalidMagic
Magic number mismatch
UnsupportedVersion
Unsupported version
SizeMismatch
Structure size mismatch
InvalidTscFreq
TSC frequency not calibrated or out of range
DmaRegionTooSmall
DMA region too small
DmaCpuPtrNull
DMA CPU pointer is null
DmaBusAddrZero
DMA bus address is zero
StackTooSmall
Stack too small
StackTopNull
Stack top is null
NoNic
No NIC configured
NicMmioZero
NIC MMIO base is zero
Trait Implementations§
Source§impl Clone for HandoffError
impl Clone for HandoffError
Source§fn clone(&self) -> HandoffError
fn clone(&self) -> HandoffError
Returns a copy 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 HandoffError
impl Debug for HandoffError
Source§impl Display for HandoffError
impl Display for HandoffError
Source§impl From<HandoffError> for InitError
impl From<HandoffError> for InitError
Source§fn from(e: HandoffError) -> Self
fn from(e: HandoffError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HandoffError
impl PartialEq for HandoffError
impl Copy for HandoffError
impl Eq for HandoffError
impl StructuralPartialEq for HandoffError
Auto Trait Implementations§
impl Freeze for HandoffError
impl RefUnwindSafe for HandoffError
impl Send for HandoffError
impl Sync for HandoffError
impl Unpin for HandoffError
impl UnwindSafe for HandoffError
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