libtuntap 0.0.1

This crate is the tuntap implement.
Documentation
1
2
3
4
5
6
7
8
9
10

/// Token is wrap the usize used in register
#[derive(Clone, Copy, Hash, PartialEq, Eq, PartialOrd, Ord)]
pub struct Token(pub usize);

impl From<usize> for Token {
    fn from(value: usize) -> Self {
        Self(value)
    }
}