2023-07-18 02:26:58 +02:00
|
|
|
use crate::mac::runner::Runner;
|
2023-07-16 02:15:01 +02:00
|
|
|
|
|
|
|
#[derive(Debug)]
|
|
|
|
pub struct Error {
|
|
|
|
pub status: u32,
|
|
|
|
}
|
|
|
|
|
|
|
|
pub struct Control<'a> {
|
2023-07-18 02:26:58 +02:00
|
|
|
runner: &'a Runner,
|
2023-07-16 02:15:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
impl<'a> Control<'a> {
|
2023-07-18 02:26:58 +02:00
|
|
|
pub(crate) fn new(runner: &'a Runner) -> Self {
|
|
|
|
Self { runner: runner }
|
2023-07-16 02:15:01 +02:00
|
|
|
}
|
|
|
|
|
2023-07-18 02:26:58 +02:00
|
|
|
pub async fn init(&mut self) {
|
|
|
|
// TODO
|
2023-07-16 02:15:01 +02:00
|
|
|
}
|
|
|
|
}
|