pub fn try_arc_map<T: Clone, E, F: FnMut(T) -> Result<T, E>>( arc: Arc<T>, f: F, ) -> Result<Arc<T>, E>