protomask-tun 0.1.0

An async interface to Linux TUN devices
Documentation
1
2
3
4
5
6
7
8
9
10
#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error(transparent)]
    IoError(#[from] std::io::Error),

    #[error(transparent)]
    NetlinkError(#[from] rtnetlink::Error),
}

pub type Result<T> = std::result::Result<T, Error>;