use std::thread::{JoinHandle, Result}; pub trait Service { fn thread_hdls(self) -> Vec>; fn join(self) -> Result<()>; }