Add Module::shutdown() in trait
This commit is contained in:
parent
19ab3d425f
commit
170d57cbdf
1 changed files with 1 additions and 0 deletions
|
@ -7,5 +7,6 @@ pub trait Module {
|
||||||
fn name(self) -> String;
|
fn name(self) -> String;
|
||||||
|
|
||||||
fn execute(&self, &rt : Runtime) -> Option<Error>;
|
fn execute(&self, &rt : Runtime) -> Option<Error>;
|
||||||
|
fn shutdown(&self, &rt : Runtime) -> Option<Error>;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue