add Debug supertrait for Backend

This commit is contained in:
steven-omaha
2023-01-30 16:55:45 +01:00
parent 75addc0844
commit 8c2db88ba6
4 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
use std::fmt::Debug;
use std::process::Command;
use std::{collections::HashSet, process::ExitStatus};
@@ -8,7 +9,7 @@ use crate::{Group, Package};
pub(in crate::backend) type Switches = &'static [&'static str];
pub(in crate::backend) type Text = &'static str;
pub(crate) trait Backend {
pub(crate) trait Backend: Debug {
fn get_binary(&self) -> Text;
fn get_section(&self) -> Text;
fn get_switches_install(&self) -> Switches;