mod node; pub use node::*; mod async_main; pub use async_main::*; mod packet; pub use packet::*; #[cfg_attr(target_os = "linux", path = "tun_linux.rs")] #[cfg_attr(target_os = "windows", path = "tun_win.rs")] mod tun; mod device; /* pub trait ReadWriter { fn send(&self, content: &[u8]) -> std::io::Result; fn recv(&self, buf: &mut [u8]) -> std::io::Result; } */