Struct expectation_shared::Result [−][src]
pub struct Result { pub test_name: String, pub file_name: PathBuf, pub kind: ResultKind, }
Fields
test_name: String
file_name: PathBuf
kind: ResultKind
Methods
impl Result
[src]
impl Result
pub fn is_ok(&self) -> bool
[src]
pub fn is_ok(&self) -> bool
pub fn ok<N, P>(name: N, file: P) -> Self where
N: Into<String>,
P: Into<PathBuf>,
[src]
pub fn ok<N, P>(name: N, file: P) -> Self where
N: Into<String>,
P: Into<PathBuf>,
pub fn expected_not_found<N, P1, P2, P3>(
name: N,
file: P1,
actual: P2,
expected: P3
) -> Self where
N: Into<String>,
P1: Into<PathBuf>,
P2: Into<PathBuf>,
P3: Into<PathBuf>,
[src]
pub fn expected_not_found<N, P1, P2, P3>(
name: N,
file: P1,
actual: P2,
expected: P3
) -> Self where
N: Into<String>,
P1: Into<PathBuf>,
P2: Into<PathBuf>,
P3: Into<PathBuf>,
pub fn actual_not_found<N, P1, P2, P3>(
name: N,
file: P1,
actual: P2,
expected: P3
) -> Self where
N: Into<String>,
P1: Into<PathBuf>,
P2: Into<PathBuf>,
P3: Into<PathBuf>,
[src]
pub fn actual_not_found<N, P1, P2, P3>(
name: N,
file: P1,
actual: P2,
expected: P3
) -> Self where
N: Into<String>,
P1: Into<PathBuf>,
P2: Into<PathBuf>,
P3: Into<PathBuf>,
pub fn difference<N, P1, P2, P3>(
name: N,
file: P1,
actual: P2,
expected: P3,
diffs: Vec<PathBuf>
) -> Self where
N: Into<String>,
P1: Into<PathBuf>,
P2: Into<PathBuf>,
P3: Into<PathBuf>,
[src]
pub fn difference<N, P1, P2, P3>(
name: N,
file: P1,
actual: P2,
expected: P3,
diffs: Vec<PathBuf>
) -> Self where
N: Into<String>,
P1: Into<PathBuf>,
P2: Into<PathBuf>,
P3: Into<PathBuf>,
pub fn io_error<N, P>(name: N, file: P, io_error: Error) -> Self where
N: Into<String>,
P: Into<PathBuf>,
[src]
pub fn io_error<N, P>(name: N, file: P, io_error: Error) -> Self where
N: Into<String>,
P: Into<PathBuf>,
Trait Implementations
impl Debug for Result
[src]
impl Debug for Result
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Result
[src]
impl PartialEq for Result