pub fn wrap<Cx: TripleS + Clone, Output: Send + Sync + Serialize + Type, Arg: Send + Sync + 'static + DeserializeOwned + Type, Proc: Procedure<Cx, Output, Arg> + Send + Sync + 'static>(
proc: Proc,
) -> WrappedProcedure<Cx, Output, Arg>Expand description
Wrap any Procedure, converting it to a WrappedProcedure
which implements the GenericProcedure trait.