[][src]Enum substrate_wasm_builder_runner::WasmBuilderSource

pub enum WasmBuilderSource {
    Path(&'static str),
    Git {
        repo: &'static str,
        rev: &'static str,
    },
    Crates(&'static str),
    CratesOrPath {
        version: &'static str,
        path: &'static str,
    },
}

The wasm-builder dependency source.

Variants

Path(&'static str)

The relative path to the source code from the current manifest dir.

Git

The git repository that contains the source code.

Fields of Git

repo: &'static strrev: &'static str
Crates(&'static str)

Use the given version released on crates.io.

CratesOrPath

Use the given version released on crates.io or from the given path.

Fields of CratesOrPath

version: &'static strpath: &'static str

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, 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.