Struct Component Owner
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.
Restricted lifecycle capability returned only to the registration owner.
Implementations
impl ComponentOwner
impl ComponentOwner
close
pub fn close(&self) -> Result<bool, DiagnosticError>
Close this registration without erasing retained evidence.
Returns false for already closed/unavailable or disabled handles. Later recording receives an explicit closed-handle failure.
refresh
pub fn refresh(
&self,
ownership: ComponentOwnership,
) -> Result<Option<DiagnosticNumber>, DiagnosticError>
Reset the current since-refresh summary after a committed reload.
Lifetime totals, code counters, rolling windows, and retained evidence remain available. The generation marks the new observation-time period; captured operations retain their original attribution. Disabled handles return None without allocating or changing diagnostic state.