use std::error::Error; use std::fmt::Display; use resources::Resource; pub trait Symbol: Display { fn target_reached(&self) -> Result>; fn execute(&self) -> Result<(), Box>; fn get_prerequisites(&self) -> Vec> { vec![] } } pub mod dir; pub mod dir_for; pub mod file; pub mod git; pub mod npm; pub mod user; pub mod systemd; pub mod nginx; pub mod hook; pub mod list;