pub enum HotkeyRuntimeError {
InvalidHotkey(String),
RegistrationFailed(String),
EventLoopFailed(String),
UnsupportedPlatform,
}Variants§
Trait Implementations§
Source§impl Clone for HotkeyRuntimeError
impl Clone for HotkeyRuntimeError
Source§fn clone(&self) -> HotkeyRuntimeError
fn clone(&self) -> HotkeyRuntimeError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HotkeyRuntimeError
impl Debug for HotkeyRuntimeError
Source§impl From<HotkeyRuntimeError> for RuntimeError
impl From<HotkeyRuntimeError> for RuntimeError
Source§fn from(value: HotkeyRuntimeError) -> Self
fn from(value: HotkeyRuntimeError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HotkeyRuntimeError
impl PartialEq for HotkeyRuntimeError
Source§fn eq(&self, other: &HotkeyRuntimeError) -> bool
fn eq(&self, other: &HotkeyRuntimeError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for HotkeyRuntimeError
impl StructuralPartialEq for HotkeyRuntimeError
Auto Trait Implementations§
impl Freeze for HotkeyRuntimeError
impl RefUnwindSafe for HotkeyRuntimeError
impl Send for HotkeyRuntimeError
impl Sync for HotkeyRuntimeError
impl Unpin for HotkeyRuntimeError
impl UnsafeUnpin for HotkeyRuntimeError
impl UnwindSafe for HotkeyRuntimeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.