proxmox/proxmox-sys/src
Lukas Wagner 0f1b84e93c sys: fs: derive Copy for CreateOptions
Pretty much all functions accepting `CreateOptions` take a value and not
a reference, so I've found myself using `.clone()` quite often in code
I've written recently.
The struct is only 24 bytes large (verified by a
`std::mem::size_of::<CreateOptions>()`), so it should be absolutely fine
to just derive Copy for it.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2025-01-29 18:09:24 +01:00
..
fs sys: fs: derive Copy for CreateOptions 2025-01-29 18:09:24 +01:00
linux sys: remove lazy_static dependency 2024-08-14 10:33:42 +02:00
boot_mode.rs sys: cleanup assigned and immediately returned var 2023-11-29 14:57:29 +01:00
command.rs sys: rust fmt 2022-04-10 17:39:31 +02:00
crypt.rs sys: crypt: style + drop unnecessary length check 2024-08-28 13:04:43 +02:00
error.rs async, sys: replace deprecated io_err_other 2024-07-26 13:09:33 +02:00
fd.rs sys: open directories with O_CLOEXEC 2024-12-02 17:06:25 +01:00
lib.rs sys: remove lazy_static dependency 2024-08-14 10:33:42 +02:00
logrotate.rs sys: rust fmt 2022-04-10 17:39:31 +02:00
macros.rs move io error helpers to proxmox-lang 2022-02-21 13:35:14 +01:00
mmap.rs async, sys: replace deprecated io_err_other 2024-07-26 13:09:33 +02:00
process_locker.rs sys: process_locker: explicitly don't truncate the lock file 2024-06-28 11:18:04 +02:00
systemd.rs sys: systemd: remove empty line after outer attribute 2024-12-03 13:44:05 +01:00