Skip to main content

serialize_into

Function serialize_into 

Source
pub fn serialize_into<T, C: Config>(
    dst: impl Writer,
    src: &T,
    config: C,
) -> WriteResult<()>
where T: SchemaWrite<C, Src = T> + ?Sized,
Expand description

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

This has the same non-transactional, partial-write behavior documented by crate::serialize_into.