Trait serde_tagged::ser::HasDelegate
source · pub trait HasDelegate {
type Ok;
type Error: Error;
type Delegate: Serializer<Ok = Self::Ok, Error = Self::Error>;
// Required method
fn delegate(self) -> Self::Delegate;
}
Expand description
A trait to provide access to a delegate serializer.
The delegate is expected to be responsible for the data-format of a serializer that implements this trait.