pub(crate) fn _expect_deserialize<'a, K, V>(
kv: Result<KeyVal<'a>>,
) -> KeyVal<'a, K, V>where
K: Deserialize<'a>,
V: Deserialize<'a>,Expand description
Deserializes both components and treats any input or codec error as fatal.
The returned key and value may borrow from the original raw pair. Prefer the fallible helper when a caller can propagate decoding failure.
ยงPanics
Panics if the input is an error or either component cannot be deserialized.