Function system_service::run
[−]
[src]
pub fn run<T>() -> Result<(), T::Err> where
T: Application,
Run an Application
This should be called in your fn main()
with something like the following.
fn main() { if let Err(err) = run::<MyApplication>() { die!("Application encountered error: {}", err); } }
CLI option loading, config loading, signal handling, and etc. are all initialized automatically on the Application's behalf.