pub trait FinishedObject: Sized {
// Required method
fn finish_object(obj: ObjectBuilder<'_>) -> Result<Self>;
}
Expand description
A type which can be the result of serializing an object.
Required Methods§
sourcefn finish_object(obj: ObjectBuilder<'_>) -> Result<Self>
fn finish_object(obj: ObjectBuilder<'_>) -> Result<Self>
Emit the object as Self
.
Object Safety§
This trait is not object safe.