Type Alias dusk_ui::context::Callback

source ·
pub type Callback<D> = Box<dyn Fn(&Box<InteractionCreate>, &Arc<Context<D>>, D) -> Pin<Box<dyn Future<Output = D> + Send + Sync>> + Send + Sync>;

Aliased Type§

struct Callback<D>(/* private fields */);