Structs§
- Async
Join OnDrop - Joins async join handle on drop.
This future is fused, and will return
Poll::Pendingif polled after completion.
Functions§
- init_
logger - raise_
fd_ limit - Raise the file descriptor limit for the process to the maximum possible value.
- run_
future_ in_ dedicated_ thread - Runs future on a dedicated thread with the specified name. Will block on drop until background thread with future is stopped, ensuring nothing is left in memory.
- set_
exit_ on_ panic - Install a panic handler which exits on panics, rather than unwinding. Unwinding can hang the tokio runtime waiting for stuck tasks or threads.
- shutdown_
signal - Wait for the process to receive a shutdown signal, and log the supplied process kind.