marcel_os

Trait Testable

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

Trait for marking types that can be tested in the kernel test suite.

Required Methods§

Source

fn run(&self)

Runs the test function.

Implementors§

Source§

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