NetdocEncodable

Trait NetdocEncodable 

Source
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§

Source

fn encode_unsigned(&self, out: &mut NetdocEncoder) -> Result<(), Bug>

Append the document onto out

Implementors§