Enum tao::global_shortcut::ShortcutManagerError [−][src]
#[non_exhaustive] pub enum ShortcutManagerError { AcceleratorAlreadyRegistered(Accelerator), AcceleratorNotRegistered(Accelerator), InvalidAccelerator(String), }
Expand description
An error whose cause the ShortcutManager
to fail.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Tuple Fields of AcceleratorAlreadyRegistered
0: Accelerator
Tuple Fields of AcceleratorNotRegistered
0: Accelerator
Tuple Fields of InvalidAccelerator
0: String