Type Definition webmachine::Callback
source · [−]pub type Callback<'a, T> = Arc<Mutex<Box<dyn Fn(&mut Context, &Resource<'_>) -> Pin<Box<dyn Future<Output = T> + Send>> + Send + Sync + 'a>>>;
Expand description
Type of a Webmachine resource callback