pty-exec 0.1.0

A flexible, cross platform pty package
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::error::Error;
use std::fmt;

#[derive(Debug)]
pub struct PtyError(pub String);

impl fmt::Display for PtyError {
    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
        write!(f, "Pseudo Terminal Error: {}", self.0)
    }
}

impl Error for PtyError {}