#[repr(transparent)]pub struct VZErrorCode(pub NSInteger);
VZError
only.Expand description
Error type returned by the Virtualization framework. The NSError domain is VZErrorDomain, the code is one of the VZErrorCode constants.
The virtualization framework can also report errors from other domains when the error originates from a lower level component.
Internal error such as the virtual machine unexpectedly stopping.
Invalid machine configuration.
API used with a machine in the wrong state (e.g. interacting with a machine before it is running).
Invalid change of state (e.g. pausing a virtual machine that is not started).
Unrecognized disk image format or invalid disk image.
The running virtual machine limit was exceeded.
Network error occurred.
Machine ran out of disk space.
The operation was cancelled.
The operation is not supported.
The save operation failed.
The restore operation failed.
The restore image catalog failed to load.
The restore image catalog is invalid.
The restore image catalog has no supported restore images.
The restore image failed to load.
The restore image is invalid.
A software update is required to complete the installation.
An error occurred during installation.
The connection or the negotiation with the NBD server failed.
The NBD client is disconnected from the server.
Controller not found.
Device is already attached.
Device initialization failure.
Device not found.
See also Apple’s documentation
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl VZErrorCode
impl VZErrorCode
pub const Internal: Self
pub const InvalidVirtualMachineConfiguration: Self
pub const InvalidVirtualMachineState: Self
pub const InvalidVirtualMachineStateTransition: Self
pub const InvalidDiskImage: Self
pub const VirtualMachineLimitExceeded: Self
pub const NetworkError: Self
pub const OutOfDiskSpace: Self
pub const OperationCancelled: Self
pub const NotSupported: Self
pub const Save: Self
pub const Restore: Self
pub const RestoreImageCatalogLoadFailed: Self
pub const InvalidRestoreImageCatalog: Self
pub const NoSupportedRestoreImagesInCatalog: Self
pub const RestoreImageLoadFailed: Self
pub const InvalidRestoreImage: Self
pub const InstallationRequiresUpdate: Self
pub const InstallationFailed: Self
pub const NetworkBlockDeviceNegotiationFailed: Self
pub const NetworkBlockDeviceDisconnected: Self
pub const USBControllerNotFound: Self
pub const DeviceAlreadyAttached: Self
pub const DeviceInitializationFailure: Self
pub const DeviceNotFound: Self
Trait Implementations§
Source§impl Clone for VZErrorCode
impl Clone for VZErrorCode
Source§fn clone(&self) -> VZErrorCode
fn clone(&self) -> VZErrorCode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more