pub trait Inventory: Send + Sync {
// Required methods
fn connections(&self) -> Result<Vec<Connection>>;
fn services(&self) -> Result<Vec<Service>>;
fn flows(&self) -> Result<Vec<Flow>>;
fn egress_for(&self, dst: IpAddr) -> Result<Egress>;
}Expand description
Domain-level inventory. Composes primitives into Connection etc.,
applies smart filtering (IPv6 collapse, APIPA, metadata IPs).
Required Methods§
Sourcefn connections(&self) -> Result<Vec<Connection>>
fn connections(&self) -> Result<Vec<Connection>>
Return all user-facing network connections.