1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! gRPC API (Tonic) — stub.
//!
//! Reserved surface for a high-throughput gRPC interface mirroring the
//! REST/FHIR APIs. The Protobuf service is not yet defined and
//! [`serve`](crate::api::grpc::serve) is a no-op that returns immediately; the commented body
//! sketches the intended Tonic wiring. Callers should use the REST API
//! ([`crate::api::rest`]) until this is implemented.
use crateServerConfig;
use crateResult;
/// Generated Protobuf types (reserved).
///
/// Will hold `tonic::include_proto!("mpi")` output once the `.proto`
/// service definition exists; empty for now.
/// Start the gRPC server (currently a no-op stub).
///
/// Accepts the [`ServerConfig`] for forward compatibility (host/port)
/// but performs no work and returns `Ok(())` immediately. Will bind and
/// serve the Tonic service once the gRPC API is implemented.
pub async