1 2 3 4
/// Function for handling pub(crate) trait UpdateHandlerFn: Fn() + Sync + Send {} impl<FN: Fn() + Sync + Send> UpdateHandlerFn for FN {}