forked from proxmox-mirrors/proxmox
![]() 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> |
||
---|---|---|
.. | ||
fs | ||
linux | ||
boot_mode.rs | ||
command.rs | ||
crypt.rs | ||
error.rs | ||
fd.rs | ||
lib.rs | ||
logrotate.rs | ||
macros.rs | ||
mmap.rs | ||
process_locker.rs | ||
systemd.rs |