Skip to main content

deserialize_with_context

Function deserialize_with_context 

Source
pub fn deserialize_with_context<'de, Ctx, T, C: Config>(
    ctx: Ctx,
    src: &'de [u8],
    config: C,
) -> ReadResult<T>
where T: SchemaReadContext<'de, C, Ctx, Dst = T>,
Expand description

Like crate::deserialize_with_context, but allows the caller to provide a custom configuration.