pub trait IntoXml {
type EventIter: Iterator<Item = Result<Event, Error>>;
// Required method
fn into_event_iter(self) -> Result<Self::EventIter, Error>;
}
Expand description
Trait allowing to consume a struct and iterate its contents as
serialisable rxml::Event
items.
Required Associated Types§
Required Methods§
sourcefn into_event_iter(self) -> Result<Self::EventIter, Error>
fn into_event_iter(self) -> Result<Self::EventIter, Error>
Return an iterator which emits the contents of the struct or enum as
serialisable rxml::Event
items.