Enum ctrlc::Error [−][src]
pub enum Error { NoSuchSignal(SignalType), MultipleHandlers, System(Error), }
Expand description
Ctrl-C error.
Variants
Signal could not be found from the system.
Tuple Fields of NoSuchSignal
0: SignalType
Ctrl-C signal handler already registered.
Unexpected system error.
Tuple Fields of System
0: Error
Trait Implementations
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more