pub trait XmlStructDocument {
// Required methods
fn parse_document<R: Read>(reader: &mut R) -> Result<Self, XmlParseError>
where Self: Sized;
fn write_document<W: Write>(&self, w: &mut W) -> Result<(), XmlWriteError>;
}Required Methods§
fn parse_document<R: Read>(reader: &mut R) -> Result<Self, XmlParseError>where
Self: Sized,
fn write_document<W: Write>(&self, w: &mut W) -> Result<(), XmlWriteError>
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.