Trait test_context::AsyncTestContext
source · pub trait AsyncTestContextwhere
Self: Sized,{
// Required method
fn setup() -> impl Future<Output = Self> + Send;
// Provided method
fn teardown(self) -> impl Future<Output = ()> + Send { ... }
}
Expand description
The trait to implement to get setup/teardown functionality for async tests.
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.