Struct Native 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 NativePluginActivation { /* private fields */ }

Owns native dynamic libraries registered into the plugin registry.

Dropping this value deregisters the native plugin kinds before unloading their libraries. Clear active plugin configuration before dropping it so runtime callbacks cannot outlive their code.

Implementations

impl NativePluginActivation

impl NativePluginActivation

is_empty

pub fn is_empty(&self) -> bool

Returns true when no native plugins were loaded.

clear

pub fn clear(self)

Consumes the activation and deregisters loaded plugin kinds.

Trait Implementations

impl Drop for NativePluginActivation

impl Drop for NativePluginActivation

drop

fn drop(&mut self)