]> git.proxmox.com Git - proxmox-backup.git/commitdiff
tape: derive Debug for ElementType (fix previous commit)
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 12 Dec 2023 13:20:42 +0000 (14:20 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 12 Dec 2023 13:21:24 +0000 (14:21 +0100)
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
pbs-tape/src/sg_pt_changer.rs

index 4c7b666e8dd32d3382cb41c741356ca30e67d856..cfddbf9ab585cc7b54bdbb1e194ddd7a248a17ff 100644 (file)
@@ -247,7 +247,7 @@ pub fn transfer_medium<F: AsRawFd>(
     Ok(())
 }
 
-#[derive(Clone, Copy)]
+#[derive(Clone, Copy, Debug)]
 enum ElementType {
     MediumTransport,
     Storage,