Skip to main content

encode_netdoc_unsigned

Function encode_netdoc_unsigned 

Source
pub fn encode_netdoc_unsigned<'d, 'i, D, I>(docs: I) -> Result<String, Bug>
where D: NetdocEncodable + 'd, I: IntoIterator<Item = &'d D> + 'i,
Expand description

Encode one or more whole (unsigned) network documents into a String

To encode just one document, write encode_netdoc_unsigned([&doc]).