A crate parsing common XMPP elements into Rust structures.
Each module implements a parse
function, which takes a minidom
Element
reference and returns Some(MessagePayload)
if the parsing
succeeded, None otherwise.
Parsed structs can then be manipulated internally, and serialised back before being sent over the wire.