reclog 0.1.2

Command-line tool to capture command output to a file.
1
2
3
4
5
6
7
8
9
10
11
use rustix::io::Errno;
use std::fmt;

#[derive(Debug)]
pub struct SysError(pub &'static str, pub Errno);

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