diff --git a/src/runtime2/stdlib/internet.rs b/src/runtime2/stdlib/internet.rs index 3071b975015dea74e0ec67b71b91528cab76089b..7e5c0518b39a19c71977791222bff3dd54d9dbef 100644 --- a/src/runtime2/stdlib/internet.rs +++ b/src/runtime2/stdlib/internet.rs @@ -206,20 +206,6 @@ impl AsRawFileDescriptor for SocketTcpClient { } } -impl event::Source for T { - fn register(&mut self, registry: &Registry, token: Token, interests: Interest) -> std::io::Result<()> { - registry.selector().register() - } - - fn reregister(&mut self, registry: &Registry, token: Token, interests: Interest) -> std::io::Result<()> { - todo!() - } - - fn deregister(&mut self, registry: &Registry) -> std::io::Result<()> { - todo!() - } -} - /// Performs the `socket` and `bind` calls. fn create_and_bind_socket(socket_type: libc::c_int, protocol: libc::c_int, ip: IpAddr, port: u16) -> Result { let family = socket_family_from_ip(ip);