Enum EngineKind
pub enum EngineKind {
Msix,
Zip,
Portable,
Msi,
NativeExe,
Font,
}Expand description
The engine family that executed or will execute an install.
Variants§
Msix
A Windows App Installer / MSIX flow.
Zip
A zip extraction flow.
Portable
A portable raw-copy flow.
Msi
A native Windows MSI flow.
NativeExe
A non-MSI executable flow.
Font
A per-user Windows font flow.
Implementations§
§impl EngineKind
impl EngineKind
pub fn as_str(self) -> &'static str
pub fn from_installer_type(kind: InstallerType) -> EngineKind
Trait Implementations§
§impl Clone for EngineKind
impl Clone for EngineKind
§fn clone(&self) -> EngineKind
fn clone(&self) -> EngineKind
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 more§impl Debug for EngineKind
impl Debug for EngineKind
§impl<'de> Deserialize<'de> for EngineKind
impl<'de> Deserialize<'de> for EngineKind
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EngineKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EngineKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Display for EngineKind
impl Display for EngineKind
§impl From<InstallerType> for EngineKind
impl From<InstallerType> for EngineKind
§fn from(value: InstallerType) -> EngineKind
fn from(value: InstallerType) -> EngineKind
Converts to this type from the input type.
§impl FromStr for EngineKind
impl FromStr for EngineKind
Source§impl PackageEngine for EngineKind
impl PackageEngine for EngineKind
§impl PartialEq for EngineKind
impl PartialEq for EngineKind
§impl Serialize for EngineKind
impl Serialize for EngineKind
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for EngineKind
impl Eq for EngineKind
impl StructuralPartialEq for EngineKind
Auto Trait Implementations§
impl Freeze for EngineKind
impl RefUnwindSafe for EngineKind
impl Send for EngineKind
impl Sync for EngineKind
impl Unpin for EngineKind
impl UnwindSafe for EngineKind
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.