[][src]Struct testing::TestOutput

#[must_use]pub struct TestOutput<R> {
    pub errors: StdErr,
    pub result: R,
}

Fields

errors: StdErr

Errors produced by swc_common::error::Handler.

result: R

Implementations

impl<R> TestOutput<Option<R>>[src]

pub fn expect_err(self, _path: &Path)[src]

Expects result to be None and errors to be match content of ${path}.stderr.

Auto Trait Implementations

impl<R> RefUnwindSafe for TestOutput<R> where
    R: RefUnwindSafe

impl<R> Send for TestOutput<R> where
    R: Send

impl<R> Sync for TestOutput<R> where
    R: Sync

impl<R> Unpin for TestOutput<R> where
    R: Unpin

impl<R> UnwindSafe for TestOutput<R> where
    R: 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> Send for T where
    T: ?Sized
[src]

impl<T> Sync for T where
    T: ?Sized
[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.