Function bincode::serde::decode_seed_from_slice
source · [−]pub fn decode_seed_from_slice<'de, T, C>(
seed: T,
slice: &'de [u8],
config: C
) -> Result<T::Value, DecodeError>where
T: DeserializeSeed<'de>,
C: Config,
Available on crate feature
serde
only.Expand description
Decode a borrowed type from the given slice using a seed. Some parts of the decoded type are expected to be referring to the given slice