containerd / rust-extensions

Rust crates to extend containerd
https://containerd.io
Apache License 2.0
184 stars 73 forks source link

snapshots: Add handy `Clone`, `Copy` derivations #338

Closed ckatsak closed 1 week ago

ckatsak commented 1 week ago

If there is a reason why the Clone (and Copy, where applicable) traits are not derived (or implemented) for structs Info, Kind and Usage of the snapshots crate, feel free to ignore this PR.

Otherwise, I've found it significantly easier to work with the types after these derivations.