Update
This commit is contained in:
parent
9e3173507d
commit
27e6531119
8 changed files with 288 additions and 15 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue