| 40 | } |
| 41 | |
| 42 | pub struct DBusApi { |
| 43 | api_notifier: EventFd, |
| 44 | api_sender: futures::lock::Mutex<Sender<ApiRequest>>, |
| 45 | } |
| 46 | |
| 47 | fn api_error(error: impl std::fmt::Debug + std::fmt::Display) -> fdo::Error { |
| 48 | fdo::Error::Failed(format!("{error}")) |
no outgoing calls