pub trait FinishSerializer {
// Required method
fn finish(self) -> Vec<u8> ⓘ;
}Expand description
Trait for serializers that can produce a final byte output.
This is separate from ShapeSerializer to preserve object safety on
ShapeSerializer (which is used as &mut dyn ShapeSerializer in generated code).