Function ptproxy::wrap_arg

source ·
pub(crate) fn wrap_arg<'a, T, A>(
    task: &'a str,
    arg: &'a A
) -> impl FnOnce(T) -> AppError + 'awhere
    T: Into<Box<dyn Error>>,
    A: Debug,