(error: impl std::fmt::Debug + std::fmt::Display)
| 45 | } |
| 46 | |
| 47 | fn api_error(error: impl std::fmt::Debug + std::fmt::Display) -> fdo::Error { |
| 48 | fdo::Error::Failed(format!("{error}")) |
| 49 | } |
| 50 | |
| 51 | // This method is intended to ensure that the DBusApi thread has enough time to |
| 52 | // send a response to the VmmShutdown method call before it is terminated. If |