Struct Plugin Host Activation
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.
Owns one process-wide dynamic plugin configuration and its loaded runtimes.
The activation keeps native libraries and worker processes alive until after all callbacks and subscribers registered from them have been removed. Only one activation may exist in a process at a time.
Implementations
impl PluginHostActivation
impl PluginHostActivation
is_active
pub fn is_active(&self) -> bool
Returns whether this activation handle has not begun teardown.
Failed teardown leaves the handle active so Self::close can retry.
report
pub fn report(&self) -> PluginHostReport
Returns the host report, including runtime and teardown diagnostics observed so far.
close
pub fn close(&mut self) -> Result<()>
Deterministically tears down static registrations and dynamic runtimes.
Trait Implementations
impl Drop for PluginHostActivation
impl Drop for PluginHostActivation
drop
fn drop(&mut self)