pub fn encode_dispatch_request(
message: &DispatchRequest,
) -> Result<Vec<u8>, Error>Expand description
Encodes a typed request as JSON bytes for external producers.
ยงErrors
Returns serde_json::Error if the JSON payload cannot be serialized.