pub trait NetdocEncodable {
// Required method
fn encode_unsigned(&self, out: &mut NetdocEncoder) -> Result<(), Bug>;
}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
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".