Constants§
Functions§
- find_
command - Search for a snix sub-command.
- make_
listener - Builds a listener. We want to always set sleep_on_errors = true to avoid server errors when running low on file handles. sleep_on_errors became the default in hyper, but is not yet flipped in tokio-listener.
- make_
search_ path - Make an os-specific search path.
- reader_
for_ path - Opens a given path, with special-casing for
-as stdin. - shutdown_
signal - future that listens to both ctrl-c and sigterm.