Skip to navigation

Function worker_max_message_bytes_from_env

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 fn worker_max_message_bytes_from_env() -> Result<usize, String>

Reads the worker message limit once when creating a host activation or worker.

Errors

Returns an error for a non-Unicode, empty, non-decimal, zero, or oversized value.