pub enum AcceleratorParseError {
UnsupportedKey(String),
EmptyToken(String),
InvalidFormat(String),
}
Variants§
Trait Implementations§
Source§impl Debug for AcceleratorParseError
impl Debug for AcceleratorParseError
Source§impl Display for AcceleratorParseError
impl Display for AcceleratorParseError
Source§impl Error for AcceleratorParseError
impl Error for AcceleratorParseError
1.30.0 · 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<AcceleratorParseError> for Error
impl From<AcceleratorParseError> for Error
Source§fn from(source: AcceleratorParseError) -> Error
fn from(source: AcceleratorParseError) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AcceleratorParseError
impl RefUnwindSafe for AcceleratorParseError
impl Send for AcceleratorParseError
impl Sync for AcceleratorParseError
impl Unpin for AcceleratorParseError
impl UnwindSafe for AcceleratorParseError
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