Enum ctrlc::Error [−][src]
pub enum Error {
NoSuchSignal(SignalType),
MultipleHandlers,
System(Error),
}
Expand description
Ctrl-C error.
Variants
NoSuchSignal(SignalType)
Tuple Fields
0: SignalType
Signal could not be found from the system.
MultipleHandlers
Ctrl-C signal handler already registered.
System(Error)
Tuple Fields
0: Error
Unexpected system 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