[][src]Type Definition async_hsm::Builder

type Builder<Composite, BuildArg, Out, Err> = fn() -> fn'c(_: &'c mut Composite, data: BuildArg) -> Pin<Box<dyn Future<Output = Result<Transit<'c, Composite, Out, Err>, Err>> + 'c>>;

Abstract builder, a function constructing an async state function

This function are returned in case a composite ist terminated, In the outer scope/composite thus function will generate the successing state.

Instances of this function must be decalred as static functions.