#[non_exhaustive]pub struct ProviderRow {
pub oses: &'static [HostOs],
pub windows_on_arm: bool,
pub mac_cpu: Option<Arch>,
pub linux_cpu: Option<Arch>,
pub vendor: Option<VendorPage>,
pub shares_folders: &'static [HostOs],
pub plugin_minimum: Option<&'static str>,
pub hypervisor_minimum: Option<(&'static str, &'static str)>,
/* private fields */
}Expand description
A provider’s row of the hypervisor table (ProviderRow::of): where it runs, where its VMs
share a folder of this computer, where its vendor offers it, the versions it is held to, and
how its hypervisor is found.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.oses: &'static [HostOs]The OSes it exists on.
windows_on_arm: boolWhether it is built for Windows on Arm.
mac_cpu: Option<Arch>The Mac CPU it is made for, when it is made for one: offered on the other only once
installed (offered).
linux_cpu: Option<Arch>The Linux CPU its vendor ships it for, when it ships for one only: offered on the other
only once installed (offered), as a setup can’t install it there.
vendor: Option<VendorPage>Where its vendor offers it, when a setup doesn’t install it (behind a login, a licence, or a Windows feature the user turns on by hand).
The OSes where its VMs share a folder of this computer two-way.
plugin_minimum: Option<&'static str>The oldest version of its plugin that works: vagrant_utm before 0.2.0 reads a VM’s
forwarded ports through a script UTM refuses (-600, -1743) and has no started state.
hypervisor_minimum: Option<(&'static str, &'static str)>Its hypervisor’s name and the oldest version its plugin drives: vagrant_utm refuses a UTM
before 4.6.5 (no import of a box, no registry for its shared folders).
Implementations§
Source§impl ProviderRow
impl ProviderRow
Trait Implementations§
Source§impl Clone for ProviderRow
impl Clone for ProviderRow
impl Copy for ProviderRow
Source§impl Debug for ProviderRow
impl Debug for ProviderRow
impl Eq for ProviderRow
Source§impl PartialEq for ProviderRow
impl PartialEq for ProviderRow
impl StructuralPartialEq for ProviderRow
Auto Trait Implementations§
impl Forget for ProviderRow
impl Freeze for ProviderRow
impl Move for ProviderRow
impl RefUnwindSafe for ProviderRow
impl Send for ProviderRow
impl Sync for ProviderRow
impl Unpin for ProviderRow
impl UnsafeUnpin for ProviderRow
impl UnwindSafe for ProviderRow
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.