capsules_core::test::capsule_test

Trait CapsuleTestClient

Source
pub trait CapsuleTestClient {
    // Required method
    fn done(&'static self, result: Result<(), CapsuleTestError>);
}
Expand description

Client for receiving test done events.

Required Methods§

Source

fn done(&'static self, result: Result<(), CapsuleTestError>)

Called when the test is finished. If the test was successful, result is Ok(()). If the test failed, result is Err() with a suitable error.

Implementors§