Function devices::virtio::vhost_user_frontend::sys::unix::run_backend_request_handler
source · pub async fn run_backend_request_handler(
ex: &Executor,
handler: &mut FrontendServer<BackendReqHandlerImpl>,
stop_rx: Receiver<()>
) -> Result<()>
Expand description
Process requests from the backend.
If stop_rx
is sent a value, the function will exit at a well defined point so that
run_backend_request_handler
can be re-invoked to resume processing the connection.