This is needed in order to explicitly clone the values when needed in the
catalog shell implementation.
Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
///
/// The ``attr`` property contain the exact type with type specific
/// attributes.
+#[derive(Clone)]
pub struct DirEntry {
pub name: Vec<u8>,
pub attr: DirEntryAttribute,
}
/// Used to specific additional attributes inside DirEntry
+#[derive(Clone)]
pub enum DirEntryAttribute {
Directory { start: u64 },
File { size: u64, mtime: u64 },