Trait XmlWrite

Source
pub trait XmlWrite {
    // Required method
    fn to_writer<W: Write>(&self, writer: &mut XmlWriter<W>) -> XmlResult<()>;

    // Provided method
    fn to_string(&self) -> XmlResult<String> { ... }
}

Required Methods§

Source

fn to_writer<W: Write>(&self, writer: &mut XmlWriter<W>) -> XmlResult<()>

Provided 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.

Implementors§