Enum test::test::RunStrategy[][src]

pub enum RunStrategy {
    InProcess,
    SpawnPrimary,
}
🔬 This is a nightly-only experimental API. (test)

Variants

InProcess
🔬 This is a nightly-only experimental API. (test)

Runs the test in the current process, and sends the result back over the supplied channel.

SpawnPrimary
🔬 This is a nightly-only experimental API. (test)

Spawns a subprocess to run the test, and sends the result back over the supplied channel. Requires argv[0] to exist and point to the binary that’s currently running.

Trait Implementations

impl Clone for RunStrategy[src]

impl Copy for RunStrategy[src]

Auto Trait Implementations

impl RefUnwindSafe for RunStrategy

impl Send for RunStrategy

impl Sync for RunStrategy

impl Unpin for RunStrategy

impl UnwindSafe for RunStrategy

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