1 2 3 4 5 6 7 8 9 10
use super::{TopDecodeMulti, TopEncodeMulti}; /// Defines conversion of a type to its multi-value representation. /// /// Consumes input. pub trait IntoMultiValue { type MultiValue: TopEncodeMulti + TopDecodeMulti; fn into_multi_value(self) -> Self::MultiValue; }