Trait datadriven::TestCaseResult

source ·
pub trait TestCaseResult {
    type Err: Display + Debug;

    // Required method
    fn result(self) -> Result<String, Self::Err>;
}

Required Associated Types§

Required Methods§

source

fn result(self) -> Result<String, Self::Err>

Implementations on Foreign Types§

source§

impl TestCaseResult for String

§

type Err = Never

source§

fn result(self) -> Result<String, Self::Err>

source§

impl<S, E> TestCaseResult for Result<S, E>
where S: Into<String>, E: Display + Debug,

§

type Err = E

source§

fn result(self) -> Result<String, E>

Implementors§