Function webmachine_rust::callback 
source · pub fn callback<T, RT>(cb: &T) -> WebmachineCallback<'_, RT>where
    T: Fn(&mut WebmachineContext, &WebmachineResource<'_>) -> RT + Send + Sync,Expand description
Wrap a callback in a structure that is safe to call between threads