External Publication
Visit Post

Idea: Add an option to set the mode to fs::copy

Rust Internals [Unofficial] March 14, 2026
Source
No, fs::copy can do filesystem cloning or kernel-space-only copying that io::copy can't, it really is its own operation. I'm not sure adding a mode set here is the right choice, but substituting io::copy is a behavior change and potential pessimization.

Discussion in the ATmosphere

Loading comments...