Trait capsules_core::test::capsule_test::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§