Struct expectest::core::Failure [] [src]

pub struct Failure { /* fields omitted */ }

Represents data for Failure variant of a TestResult.

There is no public constructor for this struct. To create a new instance you should use TestResult::new_failure method.

This struct implements the Drop trait to print failure message and panic.

Trait Implementations

impl Debug for Failure
[src]

Formats the value using the given formatter.

impl Drop for Failure
[src]

A method called when the value goes out of scope. Read more