#[non_exhaustive]pub enum StackKind {
Runtime,
Framework,
Tool,
Database,
Service,
}Expand description
Broad category of a detected StackLabel.
The kind is assigned where each detection rule is defined, so every label
produced by this crate carries one. StackDetector
uses it to decide whether project config may refine a process label:
RuntimeandToollabels are generic hosts for project code, so a project config label (for exampleNext.jsfor anodeprocess) may replace them.Framework,Database, andServicelabels are final: apostgresorrailsprocess keeps its own label even when started from a project directory.
The enum is #[non_exhaustive]; match it with a wildcard arm.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Runtime
Language runtime or process that executes project code, such as
Node.js, Python, .NET, Go, or the Gunicorn and Uvicorn
application servers.
Framework
Application or site framework, such as Next.js, Django, Rails,
or Hugo.
Tool
Build tool, bundler, or dev server, such as Vite, Webpack, or
Java (Maven).
Database
Database, cache, or search engine, such as PostgreSQL, Redis, or
Elasticsearch.
Service
Network service that is not a data store, such as a web server, reverse
proxy, message broker, or cloud emulator (Nginx, Traefik,
RabbitMQ, LocalStack).