Skip to main content

Module contracts

Module contracts 

Source

Re-exports§

pub use crate::api::openapi_registry::OpenApiRegistry;

Structs§

RegisterGrpcServiceFn
Represents a gRPC service registration callback used by the gRPC hub.

Traits§

ApiGatewayCapability
API Gateway capability: handles gateway hosting with prepare/finalize phases. Must be sync. Runs during REST phase, but doesn’t start the server.
DatabaseCapability
Database capability: modules provide migrations, runtime executes them.
GrpcHubCapability
gRPC Hub capability: hosts the gRPC server.
GrpcServiceCapability
gRPC Service capability: modules that export gRPC services.
Module
Core module: DI/wiring; do not rely on migrated schema here.
RestApiCapability
REST API capability: Pure wiring; must be sync. Runs AFTER DB migrations.
RunnableCapability
SystemCapability
System capability: receives runtime internals before init.