pub trait ItemValueEncodable {
// Required method
fn write_item_value_onto(&self, out: ItemEncoder<'_>) -> Result<(), Bug>;
}Available on crate feature
encode only.Expand description
Items that can be encoded in network documents
Required Methods§
Sourcefn write_item_value_onto(&self, out: ItemEncoder<'_>) -> Result<(), Bug>
fn write_item_value_onto(&self, out: ItemEncoder<'_>) -> Result<(), Bug>
Write the item’s arguments, and any object, onto out
out will have been freshly returned from NetdocEncoder::item.