pub async fn dispatch(
state: &AppState,
ctx: RequestContext,
) -> Result<(Vec<Frame>, Duration), ExecuteError>Expand description
Dispatch a query/command/admin operation through the actor with interceptors.
This is the single entry point for all native transport handlers. The caller is responsible only for:
- Extracting identity from transport-specific auth
- Building
RequestMetadatafrom transport-specific headers - Parsing params from transport-specific wire format
- Converting the result into transport-specific response format