[go: up one dir, main page]

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]

[src]

Formats the value using the given formatter. Read more

impl Drop for Failure
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl Send for Failure

impl Sync for Failure