usethiserror::Error as ThisError;/// 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(ThisError, Debug)]pubenumError{#[error("terminal interaction error")]
Terminal(#[from]std::io::Error),}