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-19 01:28:12 +02:00
|
|
|
runner: &'a Runner<'a>,
|
2023-07-16 02:15:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
impl<'a> Control<'a> {
|
2023-07-19 01:28:12 +02:00
|
|
|
pub(crate) fn new(runner: &'a Runner<'a>) -> 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
|
|
|
}
|
|
|
|
}
|