#[non_exhaustive]pub enum Refusal {
NotHere {
dependency: Dependency,
os: HostOs,
},
WithoutPackages {
dependency: Dependency,
},
AptOnly {
dependency: Dependency,
},
NoHomebrew,
HomebrewNeeded,
NoVirtualboxImage,
WindowsFeature {
dependency: Dependency,
},
NotOnWindowsOnArm {
dependency: Dependency,
provider: Provider,
},
NoBuild {
dependency: Dependency,
os: HostOs,
arch: Arch,
why: &'static str,
},
PrivateFile(String),
NothingAdded {
dependency: Dependency,
},
}Expand description
Why a plan can’t be made here. A UI says each in its own words.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
NotHere
The tool doesn’t run on this OS: there is nothing of it to install or remove here.
WithoutPackages
A Linux distribution with neither apt nor dnf: its user installs the tool themselves.
Fields
dependency: DependencyThe tool.
AptOnly
A tool installed through apt only for now, on a dnf distribution.
Fields
dependency: DependencyThe tool.
NoHomebrew
Homebrew isn’t installed, which a macOS install goes through.
HomebrewNeeded
Homebrew isn’t installed, which this removal on macOS goes through.
NoVirtualboxImage
VirtualBox’s removal on macOS without its installer image, whose uninstaller it runs
(macos::virtualbox_image).
WindowsFeature
A Windows feature, which its user turns off in Windows Features.
Fields
dependency: DependencyThe tool.
NotOnWindowsOnArm
Windows on Arm, which this hypervisor (or the one this tool serves) isn’t built for.
NoBuild
Its vendor ships no build for this OS and CPU that a setup installs (ToolRow::no_build).
Fields
dependency: DependencyThe tool.
PrivateFile(String)
The private file a root step’s proxy settings go through couldn’t be written: what the OS said.
NothingAdded
A removal of nothing an install added (removal): what was there before an install is
never removed.
Fields
dependency: DependencyThe tool.
Trait Implementations§
impl Eq for Refusal
Source§impl Error for Refusal
impl Error for Refusal
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
impl StructuralPartialEq for Refusal
Auto Trait Implementations§
impl Forget for Refusal
impl Freeze for Refusal
impl Move for Refusal
impl RefUnwindSafe for Refusal
impl Send for Refusal
impl Sync for Refusal
impl Unpin for Refusal
impl UnsafeUnpin for Refusal
impl UnwindSafe for Refusal
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.