This commit is contained in:
ssrlive 2023-09-23 23:08:47 +08:00
parent 4710e32873
commit 8bed7d4b5c

View file

@ -44,12 +44,6 @@ pub struct WinTunInterface {
_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 {
fn register(&mut self, registry: &Registry, token: Token, interests: Interest) -> io::Result<()> {
self.pipe_server.borrow_mut().register(registry, token, interests)?;