pub struct Machine {
pub host: Host,
pub packages_installed: bool,
pub docker: DockerFound,
pub wsl: Option<WslState>,
pub providers: Vec<ProviderStatus>,
pub groups_pending: Vec<String>,
pub elevation: Elevation,
pub user: Option<String>,
}Expand description
What a setup reads of the machine check (Check): the computer, its package manager, Docker
and its engines, WSL 2, the Vagrant providers and the groups pending a login.
Fields§
§host: HostThe computer (providers::login_groups reads which group opens /dev/kvm on it).
packages_installed: boolWhether the package manager a setup installs through is there.
docker: DockerFoundDocker and its engines.
wsl: Option<WslState>WSL 2’s state (Windows), when it was checked.
providers: Vec<ProviderStatus>Every Vagrant provider offered here.
groups_pending: Vec<String>The groups this account joined since logging in (Linux).
elevation: ElevationHow a setup’s administrator steps are elevated here: whether they raise a password prompt.
user: Option<String>The account a setup installs for (Linux joins it to a tool’s groups).
Implementations§
Trait Implementations§
impl Eq for Machine
impl StructuralPartialEq for Machine
Auto Trait Implementations§
impl Forget for Machine
impl Freeze for Machine
impl Move for Machine
impl RefUnwindSafe for Machine
impl Send for Machine
impl Sync for Machine
impl Unpin for Machine
impl UnsafeUnpin for Machine
impl UnwindSafe for Machine
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> 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
Compare self to
key and return true if they are equal.