pub(crate) enum InstallerSelectionError {
NoInstallers,
PlatformMismatch {
host: HostProfile,
},
ScopeMismatch {
host: HostProfile,
},
}Expand description
Raised when catalog installers cannot be matched to the current host.
Variants§
NoInstallers
The catalog package has no installers at all.
PlatformMismatch
The package has installers, but none match this host’s platform family.
Fields
§
host: HostProfileScopeMismatch
The package has installers, but none match this host’s install scope.
Fields
§
host: HostProfileTrait Implementations§
Source§impl Clone for InstallerSelectionError
impl Clone for InstallerSelectionError
Source§fn clone(&self) -> InstallerSelectionError
fn clone(&self) -> InstallerSelectionError
Returns a duplicate 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 InstallerSelectionError
impl Debug for InstallerSelectionError
Source§impl Display for InstallerSelectionError
impl Display for InstallerSelectionError
Source§impl Error for InstallerSelectionError
impl Error for InstallerSelectionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<InstallerSelectionError> for InstallError
impl From<InstallerSelectionError> for InstallError
Source§fn from(value: InstallerSelectionError) -> Self
fn from(value: InstallerSelectionError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InstallerSelectionError
impl PartialEq for InstallerSelectionError
impl Copy for InstallerSelectionError
impl Eq for InstallerSelectionError
impl StructuralPartialEq for InstallerSelectionError
Auto Trait Implementations§
impl Freeze for InstallerSelectionError
impl RefUnwindSafe for InstallerSelectionError
impl Send for InstallerSelectionError
impl Sync for InstallerSelectionError
impl Unpin for InstallerSelectionError
impl UnwindSafe for InstallerSelectionError
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.