[][src]Struct utils::testing::TestCommand

pub struct TestCommand { /* fields omitted */ }

Methods

impl TestCommand[src][]

pub fn new(command: &str, args: Vec<&'static str>) -> TestCommand[src]

pub fn spawn(&self)[src][]

Ask Cargo to run the command. This is not a blocking function. The command is spawned in the background, allowing the test to continue on.

Auto Trait Implementations

impl Send for TestCommand

impl Unpin for TestCommand

impl !Sync for TestCommand

impl UnwindSafe for TestCommand

impl !RefUnwindSafe for TestCommand

Blanket Implementations

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

impl<T> From<T> for 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> BorrowMut<T> for T where
    T: ?Sized
[src][+]

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

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[+]

impl<T> Same<T> for T

type Output = T

Should always be Self