error[E0277]: the trait bound `Complex<f32>: StreamSample` is not satisfied
--> src/main.rs:15:46
|
15 | let mut stream: RxStream<Complex<f32>> = dev.rx_stream::<Complex<f32>>(&[0]).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `StreamSample` is not implemented for `Complex<f32>`
|
Turns out it was just a version mismatch with complex-num.
I ran into an error that looked like this:
Turns out it was just a version mismatch with
complex-num
.Release notes here: https://github.com/rust-num/num-complex/blob/master/RELEASES.md