Function prost_serde::build_with_serde[][src]

pub fn build_with_serde(json: &str)

Encodes the message to a buffer.

An error will be returned if the buffer does not have sufficient capacity.