Enum ctrlc::SignalType [] [src]

pub enum SignalType {
    Ctrlc,
    Termination,
    Other(Signal),
}

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

Variants

Ctrl-C

Program termination Maps to SIGTERM on *nix, CTRL_CLOSE_EVENT on Windows.

Other signal/event using platform-specific data

Trait Implementations

impl Debug for SignalType
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for SignalType

impl Sync for SignalType