[][src]Struct wasm_pack::command::test::Test

pub struct Test { /* fields omitted */ }

A configured wasm-pack test command.

Methods

impl Test[src]

pub fn try_from_opts(test_opts: TestOptions) -> Result<Self, Error>[src]

Construct a test command from the given options.

pub fn set_cache(&mut self, cache: Cache)[src]

Configures the cache that this test command uses

pub fn run(self) -> Result<(), Error>[src]

Execute this test command.

Auto Trait Implementations

impl RefUnwindSafe for Test

impl Send for Test

impl Sync for Test

impl Unpin for Test

impl UnwindSafe for Test

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