Struct Worker Server Config

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 WorkerServerConfig {
    pub worker_endpoint: String,
    pub host_endpoint: String,
    pub activation_id: String,
    pub auth_token: String,
}

Explicit worker server configuration for tests and custom launchers.

Fields

worker_endpoint: String

Endpoint the worker listens on, such as unix:///tmp/worker.sock or http://127.0.0.1:50051.

host_endpoint: String

Relay host runtime endpoint used for callbacks and continuations.

activation_id: String

Host-issued activation identifier accepted by this worker.

auth_token: String

Host-issued bearer token accepted by this worker.

Trait Implementations

impl Clone for WorkerServerConfig

impl Clone for WorkerServerConfig

clone

fn clone(&self) -> WorkerServerConfig

clone_from

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

impl Debug for WorkerServerConfig

impl Debug for WorkerServerConfig

fmt

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