pub trait Pair {
type First;
type Second;
// Required method
fn split(self) -> (Self::First, Self::Second);
}
Expand description
Avoid having to restate the generic types on MapDeserializer
. The
Iterator::Item
contains enough information to figure out K and V.