I get this error message
error[E0277]: the trait bound `services::pool::zmq::Socket: std::clone::Clone` is not satisfied --> src/services/pool/networker.rs:193:49 | 193 | let mut sockets: Vec<Option<ZSocket>> = vec![None; nodes.len()]; | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::clone::Clone` is not implemented for `services::pool::zmq::Socket` | = note: required because of the requirements on the impl of `std::clone::Clone` for `std::option::Option<services::pool::zmq::Socket>` = note: required by `std::vec::from_elem`
and imaging that None should work because None is, kind of, the same for all types.
What is the best (for some definition of best) way to initialize such a vector with all None values?