pub type DMSCRouteHandler = Arc<dyn Fn(DMSCGatewayRequest) -> Pin<Box<dyn Future<Output = DMSCResult<DMSCGatewayResponse>> + Send>> + Send + Sync>;Expand description
Type alias for route handler functions.
This type represents an asynchronous function that takes a gateway request and returns a gateway response. It is wrapped in an Arc to allow safe sharing across threads.
Aliased Typeยง
pub struct DMSCRouteHandler { /* private fields */ }