pub async fn status_handler<Repo: Repository + Send + Sync + 'static, Search: SearchEngine + Send + Sync + 'static, Terminology: FHIRTerminology + Send + Sync + 'static>(
__arg0: Extension<Arc<User>>,
__arg1: Path<JobPath>,
__arg2: State<Arc<ServerState<Repo, Search, Terminology>>>,
) -> Result<Response, OperationOutcomeError>Expand description
GET of the status URL.
- queued or running:
202 Accepted,X-Progress,Retry-After, no body; - completed:
200 OKand the result, in the content type its handler chose, withExpiressaying how long it stays available; - failed: the
OperationOutcomethe handler produced, with the status code it implies; - cancelled, or unknown:
404 Not Found.