Skip to main content

SetupFn

Type Alias SetupFn 

Source
pub type SetupFn = Arc<dyn Fn(FixturePool) -> Pin<Box<dyn Future<Output = Result<Arc<dyn Any + Send + Sync>>> + Send>> + Send + Sync>;
Expand description

Async setup function: receives the FixturePool (to resolve deps), returns the value.

Aliased Typeยง

pub struct SetupFn { /* private fields */ }