rustmax

Module ctrlc

Source
Expand description

Simple handling of CTRL-C for CLI programs.

See crate ::ctrlc.

Enums§

  • Ctrl-C error.
  • A cross-platform way to represent Ctrl-C or program termination signal. Other signals/events are supported via Other-variant.

Functions§

  • Register signal handler for Ctrl-C.
  • The same as ctrlc::set_handler but errors if a handler already exists for the signal(s).

Type Aliases§

  • Platform specific signal type