1 2 3 4 5 6 7
use async_trait::async_trait; use crate::core::Error; #[async_trait] pub trait Runner { async fn run(&self) -> Result<(), Error>; }