[][src]Enum libtest_mimic::RunnerEvent

pub enum RunnerEvent<D> {
    Started {
        name: String,
        kind: String,
    },
    Completed {
        test: Test<D>,
        outcome: Outcome,
    },
}

Event indicating that a given test has started running or has completed.

Variants

Started

Fields of Started

name: String

Name of the corresponding test.

kind: String

Kind of the corresponding test.

Completed

Fields of Completed

test: Test<D>

Corresponding test.

outcome: Outcome

Outcome of having run the test.

Trait Implementations

impl<D: Debug> Debug for RunnerEvent<D>[src]

Auto Trait Implementations

impl<D> RefUnwindSafe for RunnerEvent<D> where
    D: RefUnwindSafe

impl<D> Send for RunnerEvent<D> where
    D: Send

impl<D> Sync for RunnerEvent<D> where
    D: Sync

impl<D> Unpin for RunnerEvent<D> where
    D: Unpin

impl<D> UnwindSafe for RunnerEvent<D> where
    D: UnwindSafe

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.