This commit is contained in:
Adrian Heine 2017-01-15 13:18:41 +01:00
parent 9e3173507d
commit 27e6531119
8 changed files with 288 additions and 15 deletions

View file

@ -1,9 +1,13 @@
pub trait Symbol {
type Error;
use std::error::Error;
use std::fmt::Display;
pub trait Symbol: Display {
type Error: Error;
fn target_reached(&self) -> Result<bool, Self::Error>;
fn execute(&self) -> Result<(), Self::Error>;
}
pub mod file;
pub mod git;
pub mod user;
pub mod systemd;