pub struct Hypervisor {
pub security_hypervisor: Option<bool>,
pub vm_hypervisor: Option<bool>,
pub vm_device_access: Option<bool>,
pub vm_networking: Option<bool>,
pub security_virtualization: Option<bool>,
}Expand description
Hypervisor
Fields§
§security_hypervisor: Option<bool>A Boolean value that indicates whether the app creates and manages virtual machines.
The entitlement is required to use the Hypervisor APIs in any process.
§Important
If your app has a deployment target of macOS 10.15 or earlier, add the com.apple.vm.hypervisor entitlement to your app in addition to this entitlement.
§Availability
- macOS 11.0+
§Framework
- Hypervisor
vm_hypervisor: Option<bool>A Boolean value that indicates whether the app creates and manages virtual machines.
The entitlement is required to use the Hypervisor APIs in a sandboxed process.
§Availability
- macOS 10.10–11.0
§Framework
- Hypervisor
vm_device_access: Option<bool>A Boolean value that indicates whether the app captures USB devices and uses them in the guest-operating system.
The entitlement is required to use the IOUSBHost APIs for USB device capture.
§Availability
- macOS 10.10+
§Framework
- Hypervisor
vm_networking: Option<bool>A Boolean that indicates whether the app manages virtual network interfaces without escalating privileges to the root user.
The entitlement is required to use the vmnet APIs.
§Note
This entitlement is restricted to developers of virtualization software. To request this entitlement, contact your Apple representative.
§Availability
- macOS 10.10+
§Framework
- Hypervisor
security_virtualization: Option<bool>A Boolean that indicates whether the app can use the Virtualization framework.
Read the value of isSupported to check for the presence of both this entitlement and the hardware support needed for virtualization.
§Availability
- macOS 11.0+
§Framework
- Hypervisor
Trait Implementations§
Source§impl Clone for Hypervisor
impl Clone for Hypervisor
Source§fn clone(&self) -> Hypervisor
fn clone(&self) -> Hypervisor
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Hypervisor
impl Debug for Hypervisor
Source§impl Default for Hypervisor
impl Default for Hypervisor
Source§fn default() -> Hypervisor
fn default() -> Hypervisor
Source§impl<'de> Deserialize<'de> for Hypervisor
impl<'de> Deserialize<'de> for Hypervisor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for Hypervisor
impl PartialEq for Hypervisor
Source§impl Serialize for Hypervisor
impl Serialize for Hypervisor
impl Eq for Hypervisor
impl StructuralPartialEq for Hypervisor
Auto Trait Implementations§
impl Freeze for Hypervisor
impl RefUnwindSafe for Hypervisor
impl Send for Hypervisor
impl Sync for Hypervisor
impl Unpin for Hypervisor
impl UnwindSafe for Hypervisor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.