pub trait Backend:
FHIRClient<Arc<ServerCTX<Self>>, OperationOutcomeError>
+ Sized
+ 'static {
type Repo: Repository + Send + Sync + 'static;
type Search: SearchEngine + Send + Sync + 'static;
type Terminology: FHIRTerminology + Send + Sync + 'static;
// Required method
fn builtin_operations(&self) -> &Arc<[&'static OperationDefinition]> ⓘ;
}Expand description
The server client and the stack it runs on: its repository, search engine
and terminology. The client implements it, so a layer is generic over the
one type that names them all, and ctx.client sends requests back through
the whole pipeline.
Required Associated Types§
type Repo: Repository + Send + Sync + 'static
type Search: SearchEngine + Send + Sync + 'static
type Terminology: FHIRTerminology + Send + Sync + 'static
Required Methods§
Sourcefn builtin_operations(&self) -> &Arc<[&'static OperationDefinition]> ⓘ
fn builtin_operations(&self) -> &Arc<[&'static OperationDefinition]> ⓘ
The OperationDefinitions of the server’s built-in operations.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".