[][src]Struct rstest_test::utils::TestResults

pub struct TestResults<S>(_)
where
    S: AsRef<str> + Clone
;

Implementations

impl<S> TestResults<S> where
    S: AsRef<str> + Clone
[src]

pub fn new() -> Self[src]

pub fn ok(self, name: S) -> Self[src]

pub fn fail(self, name: S) -> Self[src]

pub fn append(self, test: TestResult<S>) -> Self[src]

pub fn assert(&self, output: Output)[src]

Trait Implementations

impl<S: Clone> Clone for TestResults<S> where
    S: AsRef<str> + Clone
[src]

impl<S: Default> Default for TestResults<S> where
    S: AsRef<str> + Clone
[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for TestResults<S> where
    S: RefUnwindSafe

impl<S> Send for TestResults<S> where
    S: Send

impl<S> Sync for TestResults<S> where
    S: Sync

impl<S> Unpin for TestResults<S> where
    S: Unpin

impl<S> UnwindSafe for TestResults<S> where
    S: 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> 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.