Struct Worker Plugin Activation

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.

1pub struct WorkerPluginActivation { /* private fields */ }

Owns gRPC worker processes registered into the plugin registry.

Dropping this value deregisters worker plugin kinds and shuts down worker processes. Clear active plugin configuration before dropping it so runtime callbacks cannot outlive the worker activation.

Implementations

impl WorkerPluginActivation

impl WorkerPluginActivation

is_empty

pub fn is_empty(&self) -> bool

Returns true when no worker plugins were loaded.

clear

pub fn clear(self)

Consumes the activation; deregistration runs from Drop.

Trait Implementations

impl Drop for WorkerPluginActivation

impl Drop for WorkerPluginActivation

drop

fn drop(&mut self)