Enum tauri_bundler::bundle::PackageType[][src]

pub enum PackageType {
    MacOsBundle,
    IosBundle,
    Deb,
    Rpm,
    AppImage,
    Dmg,
    Updater,
}

The type of the package we’re bundling.

Variants

MacOsBundle

The macOS application bundle (.app).

IosBundle

The iOS app bundle.

Deb

The Linux Debian package bundle (.deb).

Rpm

The Linux RPM bundle (.rpm).

AppImage

The Linux AppImage bundle (.AppImage).

Dmg

The macOS DMG bundle (.dmg).

Updater

The Updater bundle.

Implementations

impl PackageType[src]

pub fn from_short_name(name: &str) -> Option<PackageType>[src]

Maps a short name to a PackageType. Possible values are “deb”, “ios”, “msi”, “app”, “rpm”, “appimage”, “dmg”, “updater”.

pub fn short_name(&self) -> &'static str[src]

Gets the short name of this PackageType.

pub fn all() -> &'static [PackageType][src]

Gets the list of the possible package types.

Trait Implementations

impl Clone for PackageType[src]

impl Copy for PackageType[src]

impl Debug for PackageType[src]

impl Eq for PackageType[src]

impl PartialEq<PackageType> for PackageType[src]

impl StructuralEq for PackageType[src]

impl StructuralPartialEq for PackageType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,