pub struct HvError(/* private fields */);
Expand description
An HvStatus
value representing an error.
Implementations§
Source§impl HvError
impl HvError
Sourcepub const InvalidHypercallCode: Self = _
pub const InvalidHypercallCode: Self = _
Invalid hypercall code
Sourcepub const InvalidHypercallInput: Self = _
pub const InvalidHypercallInput: Self = _
Invalid hypercall input
Sourcepub const InvalidAlignment: Self = _
pub const InvalidAlignment: Self = _
Invalid alignment
Sourcepub const InvalidParameter: Self = _
pub const InvalidParameter: Self = _
Invalid parameter
Sourcepub const AccessDenied: Self = _
pub const AccessDenied: Self = _
Access denied
Sourcepub const InvalidPartitionState: Self = _
pub const InvalidPartitionState: Self = _
Invalid partition state
Sourcepub const OperationDenied: Self = _
pub const OperationDenied: Self = _
Operation denied
Sourcepub const UnknownProperty: Self = _
pub const UnknownProperty: Self = _
Unknown property
Sourcepub const PropertyValueOutOfRange: Self = _
pub const PropertyValueOutOfRange: Self = _
Property value out of range
Sourcepub const InsufficientMemory: Self = _
pub const InsufficientMemory: Self = _
Insufficient memory
Sourcepub const PartitionTooDeep: Self = _
pub const PartitionTooDeep: Self = _
Partition too deep
Sourcepub const InvalidPartitionId: Self = _
pub const InvalidPartitionId: Self = _
Invalid partition ID
Sourcepub const InvalidVpIndex: Self = _
pub const InvalidVpIndex: Self = _
Invalid VP index
Sourcepub const InvalidPortId: Self = _
pub const InvalidPortId: Self = _
Invalid port ID
Sourcepub const InvalidConnectionId: Self = _
pub const InvalidConnectionId: Self = _
Invalid connection ID
Sourcepub const InsufficientBuffers: Self = _
pub const InsufficientBuffers: Self = _
Insufficient buffers
Sourcepub const NotAcknowledged: Self = _
pub const NotAcknowledged: Self = _
Not acknowledged
Sourcepub const InvalidVpState: Self = _
pub const InvalidVpState: Self = _
Invalid VP state
Sourcepub const Acknowledged: Self = _
pub const Acknowledged: Self = _
Acknowledged
Sourcepub const InvalidSaveRestoreState: Self = _
pub const InvalidSaveRestoreState: Self = _
Invalid save restore state
Sourcepub const InvalidSynicState: Self = _
pub const InvalidSynicState: Self = _
Invalid SynIC state
Sourcepub const ObjectInUse: Self = _
pub const ObjectInUse: Self = _
Object in use
Sourcepub const InvalidProximityDomainInfo: Self = _
pub const InvalidProximityDomainInfo: Self = _
Invalid proximity domain info
Sourcepub const NoResources: Self = _
pub const NoResources: Self = _
No resources
Feature unavailable
Sourcepub const PartialPacket: Self = _
pub const PartialPacket: Self = _
Partial packet
Sourcepub const ProcessorFeatureNotSupported: Self = _
pub const ProcessorFeatureNotSupported: Self = _
Processor feature not supported
Sourcepub const ProcessorCacheLineFlushSizeIncompatible: Self = _
pub const ProcessorCacheLineFlushSizeIncompatible: Self = _
Processor cache line flush size incompatible
Sourcepub const InsufficientBuffer: Self = _
pub const InsufficientBuffer: Self = _
Insufficient buffer
Sourcepub const IncompatibleProcessor: Self = _
pub const IncompatibleProcessor: Self = _
Incompatible processor
Sourcepub const InsufficientDeviceDomains: Self = _
pub const InsufficientDeviceDomains: Self = _
Insufficient device domains
Sourcepub const CpuidFeatureValidationError: Self = _
pub const CpuidFeatureValidationError: Self = _
CPUID feature validation error
Sourcepub const CpuidXsaveFeatureValidationError: Self = _
pub const CpuidXsaveFeatureValidationError: Self = _
CPUID XSAVE feature validation error
Sourcepub const ProcessorStartupTimeout: Self = _
pub const ProcessorStartupTimeout: Self = _
Processor startup timeout
Sourcepub const SmxEnabled: Self = _
pub const SmxEnabled: Self = _
SMX enabled
Sourcepub const InvalidLpIndex: Self = _
pub const InvalidLpIndex: Self = _
Invalid LP index
Sourcepub const InvalidRegisterValue: Self = _
pub const InvalidRegisterValue: Self = _
Invalid register value
Sourcepub const InvalidVtlState: Self = _
pub const InvalidVtlState: Self = _
Invalid VTL state
Sourcepub const NxNotDetected: Self = _
pub const NxNotDetected: Self = _
NX not detected
Sourcepub const InvalidDeviceId: Self = _
pub const InvalidDeviceId: Self = _
Invalid device ID
Sourcepub const InvalidDeviceState: Self = _
pub const InvalidDeviceState: Self = _
Invalid device state
Sourcepub const PendingPageRequests: Self = _
pub const PendingPageRequests: Self = _
Pending page requests
Sourcepub const PageRequestInvalid: Self = _
pub const PageRequestInvalid: Self = _
Page request invalid
Sourcepub const KeyAlreadyExists: Self = _
pub const KeyAlreadyExists: Self = _
Key already exists
Sourcepub const DeviceAlreadyInDomain: Self = _
pub const DeviceAlreadyInDomain: Self = _
Device already in domain
Sourcepub const InvalidCpuGroupId: Self = _
pub const InvalidCpuGroupId: Self = _
Invalid CPU group ID
Sourcepub const InvalidCpuGroupState: Self = _
pub const InvalidCpuGroupState: Self = _
Invalid CPU group state
Sourcepub const OperationFailed: Self = _
pub const OperationFailed: Self = _
Operation failed
Sourcepub const NotAllowedWithNestedVirtActive: Self = _
pub const NotAllowedWithNestedVirtActive: Self = _
Not allowed with nested virtualization active
Sourcepub const InsufficientRootMemory: Self = _
pub const InsufficientRootMemory: Self = _
Insufficient root memory
Sourcepub const EventBufferAlreadyFreed: Self = _
pub const EventBufferAlreadyFreed: Self = _
Event buffer already freed
Sourcepub const VtlAlreadyEnabled: Self = _
pub const VtlAlreadyEnabled: Self = _
The VTL specified for the operation is already in an enabled state.
Sourcepub const UnknownRegisterName: Self = _
pub const UnknownRegisterName: Self = _
Unknown register name
Trait Implementations§
Source§impl Error for HvError
impl Error for HvError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl From<HvError> for HypercallOutput
impl From<HvError> for HypercallOutput
Source§impl From<NonZero<u16>> for HvError
impl From<NonZero<u16>> for HvError
Source§fn from(err: NonZeroU16) -> Self
fn from(err: NonZeroU16) -> Self
Source§impl IntoBytes for HvErrorwhere
NonZeroU16: IntoBytes,
impl IntoBytes for HvErrorwhere
NonZeroU16: IntoBytes,
Source§impl KnownLayout for HvErrorwhere
Self: Sized,
impl KnownLayout for HvErrorwhere
Self: Sized,
Source§type PointerMetadata = ()
type PointerMetadata = ()
Self
. Read more