pub async fn handle_request(
req: DaemonRequest,
state: Arc<AppState>,
stream: &mut WriteHalf<UnixStream>,
) -> Result<(), Error>Expand description
Handles a daemon request and sends the resulting DaemonResponse back to the client.
All errors inside handlers are mapped to DaemonResponse::Error.