Enum tokio_xmpp::Event [−][src]
Expand description
High-level event on the Stream implemented by Client and Component
Variants
Online
Fields
bound_jid: Jid
Server-set Jabber-Id for your session
This may turn out to be a different JID resource than expected, so use this one instead of the JID with which the connection was setup.
resumed: bool
Was this session resumed?
Not yet implemented for the Client
Stream is connected and initialized
Disconnected(Error)
Tuple Fields
0: Error
Stream end
Stanza(Element)
Received stanza/nonza
Implementations
If this is a Stanza
event, unwrap into its data