A library for writing host-specific, single-binary configuration management and deployment tools
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
262 B

7 years ago
8 years ago
7 years ago
8 years ago
8 years ago
  1. use std::error::Error;
  2. use std::fmt::Display;
  3. pub trait Symbol: Display {
  4. type Error: Error;
  5. fn target_reached(&self) -> Result<bool, Self::Error>;
  6. fn execute(&self) -> Result<(), Self::Error>;
  7. }
  8. pub mod file;
  9. pub mod git;
  10. pub mod user;
  11. pub mod systemd;