pub type PtyResult<T> = Result<T, PtyError>;
pub enum PtyResult<T> { Ok(T), Err(PtyError), }
Contains the success value
Contains the error value