pub enum ImSwitchError {
Io(Error),
UnsupportedPlatform,
InputMethodNotFound(String),
Platform(String),
}Expand description
Error type for input method operations.
Variants§
Trait Implementations§
Source§impl Debug for ImSwitchError
impl Debug for ImSwitchError
Source§impl Display for ImSwitchError
impl Display for ImSwitchError
Source§impl Error for ImSwitchError
impl Error for ImSwitchError
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()
Auto Trait Implementations§
impl Freeze for ImSwitchError
impl !RefUnwindSafe for ImSwitchError
impl Send for ImSwitchError
impl Sync for ImSwitchError
impl Unpin for ImSwitchError
impl UnsafeUnpin for ImSwitchError
impl !UnwindSafe for ImSwitchError
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