7 lines
144 B
Rust
7 lines
144 B
Rust
|
use std::thread::{JoinHandle, Result};
|
||
|
|
||
|
pub trait Service {
|
||
|
fn thread_hdls(self) -> Vec<JoinHandle<()>>;
|
||
|
fn join(self) -> Result<()>;
|
||
|
}
|