acir::serialization

Function serialize_with_format

Source
pub(crate) fn serialize_with_format<F, T, R>(
    value: &T,
    format: Format,
) -> Result<Vec<u8>>
where F: AcirField, T: Serialize, R: Message, ProtoSchema<F>: ProtoCodec<T, R>,