pub trait NetdocEncodable {
// Required method
fn encode_unsigned(&self, out: &mut NetdocEncoder) -> Result<(), Bug>;
}Available on crate feature
encode only.Expand description
Documents (or sub-documents) that can be encoded in the netdoc metaformat
Required Methods§
Sourcefn encode_unsigned(&self, out: &mut NetdocEncoder) -> Result<(), Bug>
fn encode_unsigned(&self, out: &mut NetdocEncoder) -> Result<(), Bug>
Append the document onto out