[go: up one dir, main page]

Termination

Trait Termination 

Source
pub trait Termination {
    // Required method
    fn report(self) -> i32;
}
Expand description

Invoked when unit tests terminate. Should panic if the unit Tests is considered a failure. By default, invokes report() and checks for a 0 result.

Required Methods§

Source

fn report(self) -> i32

Implementations on Foreign Types§

Source§

impl Termination for ()

Source§

fn report(self) -> i32

Implementors§