Skip to navigation

Struct Dynamic Plugin Worker Load Contract

View as Markdown

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 struct DynamicPluginWorkerLoadContract {
    pub forward_env: Vec<String>,
    pub runtime: WorkerRuntime,
    pub entrypoint: String,
    pub max_message_bytes: Option<WorkerMessageLimits>,
    pub callback_timeouts: Option<WorkerCallbackTimeouts>,
}

Lane-specific load contract for worker plugins.

Fields

forward_env: Vec<String>

Host environment names or trailing-wildcard prefixes to forward at launch.

runtime: WorkerRuntime

Managed worker runtime identity.

entrypoint: String

Worker entrypoint or registration target.

max_message_bytes: Option<WorkerMessageLimits>

Plugin-authored per-callback byte limits, before host environment overrides.

callback_timeouts: Option<WorkerCallbackTimeouts>

Deadlines for short callbacks in this plugin.

Trait Implementations

impl Clone for DynamicPluginWorkerLoadContract

impl Clone for DynamicPluginWorkerLoadContract

clone

fn clone(&self) -> DynamicPluginWorkerLoadContract

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for DynamicPluginWorkerLoadContract

impl Debug for DynamicPluginWorkerLoadContract

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'de> Deserialize<'de> for DynamicPluginWorkerLoadContract

impl<'de> Deserialize<'de> for DynamicPluginWorkerLoadContract

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl PartialEq for DynamicPluginWorkerLoadContract

impl PartialEq for DynamicPluginWorkerLoadContract

eq

fn eq(&self, other: &DynamicPluginWorkerLoadContract) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Serialize for DynamicPluginWorkerLoadContract

impl Serialize for DynamicPluginWorkerLoadContract

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,

impl Eq for DynamicPluginWorkerLoadContract

impl Eq for DynamicPluginWorkerLoadContract

impl StructuralPartialEq for DynamicPluginWorkerLoadContract

impl StructuralPartialEq for DynamicPluginWorkerLoadContract