/// An interface operation's result containing either a successful value or error.
pubtypeResult<T>=std::result::Result<T, Error>;/// A failed interface operation's error information.
#[derive(Debug)]pubenumError{/// A low-level terminal interaction error.
Terminal(crossterm::ErrorKind),}implFrom<crossterm::ErrorKind>forError{fnfrom(err:crossterm::ErrorKind)->Self{Error::Terminal(err)}}