Add a crate that provides: ```rust pub fn test_muxer<T: StreamMuxer>(muxer: T) { ... } ``` Of course the implementation would check whether the muxer behaves as expected. Then `mplex`, `yamux` and future implementations could import that crate and run the function.
Add a crate that provides:
Of course the implementation would check whether the muxer behaves as expected.
Then
mplex,yamuxand future implementations could import that crate and run the function.