Idea: Add an option to set the mode to fs::copy
Rust Internals [Unofficial]
March 25, 2026
Note that the linux kernel_copy module already tries all of them where appropriate. copy_file_range, sendfile, splice, userspace copy, in that order.
Alas, we had to disable it in the quite useful file->socket case, due to the caveats you can find in the sendfile manpage.
Discussion in the ATmosphere