spetz commented on issue #1873: URL: https://github.com/apache/iggy/issues/1873#issuecomment-2993741403
One possible solution would be to have an enum for the internal `client` field (instead of `Box<dyn Client>`), something like e.g. `IggyClientTransport`, with 3 possible variants (`TcpClient`, `QuicClient`, `HttpClient`) and then a bunch of basic pattern matching for the wrapper methods exposed by the `IggyClient`. I'm not sure, though, if that's the best approach. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
