tokio-xmpp: rewrite for futures-0.3
This commit is contained in:
parent
bded964c38
commit
23cb34e026
18 changed files with 801 additions and 1222 deletions
|
|
@ -1,3 +1,4 @@
|
|||
use super::Error;
|
||||
use xmpp_parsers::{Element, Jid};
|
||||
|
||||
/// High-level event on the Stream implemented by Client and Component
|
||||
|
|
@ -6,7 +7,7 @@ pub enum Event {
|
|||
/// Stream is connected and initialized
|
||||
Online(Jid),
|
||||
/// Stream end
|
||||
Disconnected,
|
||||
Disconnected(Error),
|
||||
/// Received stanza/nonza
|
||||
Stanza(Element),
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue