mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-06-18 15:15:22 +00:00
clear
This commit is contained in:
parent
4710e32873
commit
8bed7d4b5c
1 changed files with 0 additions and 6 deletions
|
@ -44,12 +44,6 @@ pub struct WinTunInterface {
|
||||||
_pipe_client: Rc<RefCell<NamedPipe>>,
|
_pipe_client: Rc<RefCell<NamedPipe>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
// impl AsRawFd for WinTunInterface {
|
|
||||||
// fn as_raw_fd(&self) -> RawFd {
|
|
||||||
// self.inner.borrow().as_raw_fd()
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
impl event::Source for WinTunInterface {
|
impl event::Source for WinTunInterface {
|
||||||
fn register(&mut self, registry: &Registry, token: Token, interests: Interest) -> io::Result<()> {
|
fn register(&mut self, registry: &Registry, token: Token, interests: Interest) -> io::Result<()> {
|
||||||
self.pipe_server.borrow_mut().register(registry, token, interests)?;
|
self.pipe_server.borrow_mut().register(registry, token, interests)?;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue