pub fn encode(manifest: &Manifest) -> Vec<u8> ⓘExpand description
Encode a pb::Manifest onto the wire format (magic + version +
length-prefix + prost bytes). Infallible besides the protobuf
encoder itself, which cannot fail on a well-formed Rust value.