Trait AsXmlDyn

Source
pub trait AsXmlDyn {
    // Required method
    fn as_xml_dyn_iter<'x>(
        &'x self,
    ) -> Result<Box<dyn Iterator<Item = Result<Item<'x>, Error>> + 'x>, Error>;
}
Expand description

Dyn-compatible version of AsXml.

This trait is automatically implemented for all types which implement AsXml.

Required Methods§

Source

fn as_xml_dyn_iter<'x>( &'x self, ) -> Result<Box<dyn Iterator<Item = Result<Item<'x>, Error>> + 'x>, Error>

Return an iterator which emits the contents of the struct or enum as serialisable Item items.

Implementors§

Source§

impl<T: AsXml> AsXmlDyn for T