Skip to main content

Module message

Module message 

Source
Expand description

Internal result message types for the plugin-runtime channel.

These decouple the shared Context/ResultSink API from the gRPC transport types (proto::TaskResult, tonic::Status), allowing host plugins to avoid pulling in tonic/prost.

Structs§

TaskResultMessage
Transport-agnostic result message sent from ResultSink to the runtime, which converts it to the appropriate wire format (e.g. proto::TaskResult for gRPC, postcard for IPC).

Enums§

ResultFormat
Wire format hint attached to result data so the receiver knows how to interpret the bytes.
ResultKind
What a TaskResultMessage represents.