capsules_core::test::capsule_test

Trait CapsuleTest

Source
pub trait CapsuleTest {
    // Required method
    fn set_client(&self, client: &'static dyn CapsuleTestClient);
}
Expand description

Identify a test as a capsule test. This is only used for setting the client for test complete callbacks.

Required Methods§

Source

fn set_client(&self, client: &'static dyn CapsuleTestClient)

Set the client for the done callback.

Implementors§