im-switch 0.1.0

A cross-platform input method switcher — Rust crate + CLI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// Error type for input method operations.
#[derive(Debug, thiserror::Error)]
pub enum ImSwitchError {
    #[error("IO error: {0}")]
    Io(#[from] std::io::Error),
    #[error("unsupported platform")]
    UnsupportedPlatform,
    #[error("input method not found: {0}")]
    InputMethodNotFound(String),
    #[error("{0}")]
    Platform(String),
}