ei: add support for libei
This commit is contained in:
parent
084fe50259
commit
40e87f8f91
69 changed files with 4340 additions and 72 deletions
10
src/tasks.rs
10
src/tasks.rs
|
|
@ -10,7 +10,10 @@ mod udev_utils;
|
|||
use {
|
||||
crate::{
|
||||
state::State,
|
||||
tasks::{backend::BackendEventHandler, slow_clients::SlowClientHandler},
|
||||
tasks::{
|
||||
backend::BackendEventHandler,
|
||||
slow_clients::{SlowClientHandler, SlowEiClientHandler},
|
||||
},
|
||||
},
|
||||
std::rc::Rc,
|
||||
};
|
||||
|
|
@ -25,3 +28,8 @@ pub async fn handle_slow_clients(state: Rc<State>) {
|
|||
let mut sch = SlowClientHandler { state };
|
||||
sch.handle_events().await;
|
||||
}
|
||||
|
||||
pub async fn handle_slow_ei_clients(state: Rc<State>) {
|
||||
let mut sch = SlowEiClientHandler { state };
|
||||
sch.handle_events().await;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue