Struct objc2_virtualization::VZErrorCode
source · #[repr(transparent)]pub struct VZErrorCode(pub NSInteger);
Available on crate feature
VZError
only.Tuple Fields§
§0: NSInteger
Implementations§
source§impl VZErrorCode
impl VZErrorCode
pub const VZErrorInternal: Self = _
pub const VZErrorInvalidVirtualMachineConfiguration: Self = _
pub const VZErrorInvalidVirtualMachineState: Self = _
pub const VZErrorInvalidVirtualMachineStateTransition: Self = _
pub const VZErrorInvalidDiskImage: Self = _
pub const VZErrorVirtualMachineLimitExceeded: Self = _
pub const VZErrorNetworkError: Self = _
pub const VZErrorOutOfDiskSpace: Self = _
pub const VZErrorOperationCancelled: Self = _
pub const VZErrorNotSupported: Self = _
pub const VZErrorSave: Self = _
pub const VZErrorRestore: Self = _
pub const VZErrorRestoreImageCatalogLoadFailed: Self = _
pub const VZErrorInvalidRestoreImageCatalog: Self = _
pub const VZErrorNoSupportedRestoreImagesInCatalog: Self = _
pub const VZErrorRestoreImageLoadFailed: Self = _
pub const VZErrorInvalidRestoreImage: Self = _
pub const VZErrorInstallationRequiresUpdate: Self = _
pub const VZErrorInstallationFailed: Self = _
pub const VZErrorNetworkBlockDeviceNegotiationFailed: Self = _
pub const VZErrorNetworkBlockDeviceDisconnected: Self = _
Trait Implementations§
source§impl Clone for VZErrorCode
impl Clone for VZErrorCode
source§fn clone(&self) -> VZErrorCode
fn clone(&self) -> VZErrorCode
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 VZErrorCode
impl Debug for VZErrorCode
source§impl Encode for VZErrorCode
impl Encode for VZErrorCode
source§impl Hash for VZErrorCode
impl Hash for VZErrorCode
source§impl Ord for VZErrorCode
impl Ord for VZErrorCode
source§fn cmp(&self, other: &VZErrorCode) -> Ordering
fn cmp(&self, other: &VZErrorCode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for VZErrorCode
impl PartialEq for VZErrorCode
source§fn eq(&self, other: &VZErrorCode) -> bool
fn eq(&self, other: &VZErrorCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for VZErrorCode
impl PartialOrd for VZErrorCode
source§fn partial_cmp(&self, other: &VZErrorCode) -> Option<Ordering>
fn partial_cmp(&self, other: &VZErrorCode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RefEncode for VZErrorCode
impl RefEncode for VZErrorCode
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for VZErrorCode
impl Eq for VZErrorCode
impl StructuralPartialEq for VZErrorCode
Auto Trait Implementations§
impl Freeze for VZErrorCode
impl RefUnwindSafe for VZErrorCode
impl Send for VZErrorCode
impl Sync for VZErrorCode
impl Unpin for VZErrorCode
impl UnwindSafe for VZErrorCode
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
source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.