pub trait SerializerState<'a> {
// Required method
fn serializer<'b, 'c>(&'b mut self) -> Box<dyn Serializer + 'c>
where 'a: 'c,
'b: 'c;
}Expand description
An intermediate state between an Encoding and Serializer.
This only exists due to the specifics of erased_serde’s implementation.
Required Methods§
Sourcefn serializer<'b, 'c>(&'b mut self) -> Box<dyn Serializer + 'c>where
'a: 'c,
'b: 'c,
fn serializer<'b, 'c>(&'b mut self) -> Box<dyn Serializer + 'c>where
'a: 'c,
'b: 'c,
Returns the state’s internal serializer.