Trait FromXMLStream

Source
pub trait FromXMLStream<S: XmlEventStream>: Sized + Default {
    // Required method
    fn from_xml(stream: &mut S) -> Result<Self>;
}

Required Methods§

Source

fn from_xml(stream: &mut S) -> Result<Self>

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§