pub trait CaptureEntityResolver {
// Required method
fn resolve_container_entity_for_live_pid(
&self,
process_id: u32,
) -> Option<EntityId>;
}Expand description
Resolves live process IDs observed during traffic capture to workload entities.
This is intentionally narrower than WorkloadProvider: callers should only use it for PIDs observed from the
local operating system while capturing traffic. It’s not a general-purpose historical PID lookup API.
Required Methods§
Sourcefn resolve_container_entity_for_live_pid(
&self,
process_id: u32,
) -> Option<EntityId>
fn resolve_container_entity_for_live_pid( &self, process_id: u32, ) -> Option<EntityId>
Resolves a live process ID to the container entity that owns it, if known.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".