[][src]Enum wasm_pack::wasm_opt::WasmOpt

pub enum WasmOpt {
    CannotInstall,
    PlatformNotSupported,
    Found(PathBuf),
}

Possible results of find_wasm_opt

Variants

CannotInstall

Couldn't install wasm-opt because downloads are forbidden

PlatformNotSupported

The current platform doesn't support precompiled binaries

Found(PathBuf)

We found wasm-opt at the specified path

Auto Trait Implementations

impl RefUnwindSafe for WasmOpt

impl Send for WasmOpt

impl Sync for WasmOpt

impl Unpin for WasmOpt

impl UnwindSafe for WasmOpt

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> Erased for T

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

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

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<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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