Skip to main content

encode

Function encode 

Source
pub fn encode<'de, T: Evolving<'de>>(
    value: &T,
    encoding: Encoding,
    limits: Limits,
) -> Result<Vec<u8>, Error>
Expand description

Encode a complete Wire message into owned output.

ยงErrors

Returns the first preparation, encoding or allowance failure.