Expand description
Network listeners with TLS, Unix sockets, and systemd activation.
Provides a unified Listener abstraction over:
- TCP sockets with optional TLS
- Unix domain sockets
- Systemd socket activation (
SD_LISTEN_FDS)
All listeners support graceful shutdown via a tokio cancellation token.
Enums§
- Listen
Config - Listener configuration from the config file.
- Listen
Error - Errors during listener setup.
- Listener
- A bound listener ready to accept connections.
Functions§
- shutdown_
signal - Graceful shutdown helper.