seed_decode_from_slice

Function seed_decode_from_slice 

Source
pub fn seed_decode_from_slice<'de, D, C>(
    seed: D,
    slice: &'de [u8],
    config: C,
) -> Result<(D::Value, usize), DecodeError>
where D: DeserializeSeed<'de>, C: Config,
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