pub trait SerializeSync: Sized {
type Error;
// Required method
fn serialize<W: Write>(
&self,
root: &str,
writer: &mut Writer<W>,
) -> Result<(), Self::Error>;
}
Expand description
Trait that could be implemented by types to support serialization to XML
using the quick_xml
crate.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.