Trait LlmOptimization Payload
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
pub trait LlmOptimizationPayload: Serialize {
const SCHEMA_NAME: &'static str;
const SCHEMA_VERSION: &'static str;
}
Trait implemented by typed plugin payloads embedded in an optimization contribution.
Required Associated Constants
SCHEMA_NAME
const SCHEMA_NAME: &'static str
Stable schema name for the payload.
SCHEMA_VERSION
const SCHEMA_VERSION: &'static str
Schema version for the payload.
Dyn Compatibility
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called “object safety”, so this trait is not object safe.