1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21

use super::Host;
use super::result::PrefabResult;


#[crate::async_trait]
pub trait Deploy {
    
    fn description(&self) -> String;
    
    async fn deploy(&self, host: &Host) -> PrefabResult;
}


#[crate::async_trait]
pub trait Undeploy {
    
    fn description(&self) -> String;
    
    async fn undeploy(&self, host: &Host) -> PrefabResult;
}