Struct ctrlc_handler::CtrlCHandler
source · [−]pub struct CtrlCHandler { /* private fields */ }Implementations
Tries to receive a response from the receiver channel. Returns the result.
Checks if CTRL-C has beed pushed. Returns true if it hasn’t.
Gets the channel sender so it can be used outside of the module.