Crate reload_self

Crate reload_self 

Source

Structs§

CancellationToken
A token which can be used to signal a cancellation request to one or more tasks.

Functions§

listen
监听 SIGHUP 信号以触发进程重载,并返回一个 CancellationToken。