pub enum KeymapError {
Parse(ChordParseError),
EmptyChord,
}Expand description
Error returned from Keymap operations.
Variants§
Parse(ChordParseError)
EmptyChord
Trait Implementations§
Source§impl Debug for KeymapError
impl Debug for KeymapError
Source§impl Display for KeymapError
impl Display for KeymapError
Source§impl Error for KeymapError
impl Error for KeymapError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ChordParseError> for KeymapError
impl From<ChordParseError> for KeymapError
Source§fn from(source: ChordParseError) -> Self
fn from(source: ChordParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeymapError
impl RefUnwindSafe for KeymapError
impl Send for KeymapError
impl Sync for KeymapError
impl Unpin for KeymapError
impl UnsafeUnpin for KeymapError
impl UnwindSafe for KeymapError
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