Skip to main content

Testable

Trait Testable 

Source
pub trait Testable {
    // Required method
    fn run(&self);
}
Expand description

测试特征

Required Methods§

Source

fn run(&self)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> Testable for T
where T: Fn(),