Type Alias FuncBody

Source
pub type FuncBody<T> = dyn Fn(Arc<BasicContext>, T, &FuncArgs) -> FuncBodyAsync<'_> + Sync + Send;
Expand description

関数の Rust 上での定義。

引数は BasicContext, T, FuncArgs で、返り値は文字列の async fn。