pub trait RSSActionCmd {
type CmdOutput;
// Required method
fn action(&self, tx: &mut RSSActionsTx<'_>) -> Result<Self::CmdOutput>;
// Provided method
fn execute(&self, cfg: &Config) -> Result<Self::CmdOutput> { ... }
}
pub trait RSSActionCmd {
type CmdOutput;
// Required method
fn action(&self, tx: &mut RSSActionsTx<'_>) -> Result<Self::CmdOutput>;
// Provided method
fn execute(&self, cfg: &Config) -> Result<Self::CmdOutput> { ... }
}