Only expose one error type in crate root
This commit is contained in:
parent
2358c8636e
commit
34796c90d4
8 changed files with 14 additions and 9 deletions
|
|
@ -3,9 +3,9 @@ use tokio::io::{AsyncRead, AsyncWrite};
|
|||
use tokio_util::codec::Framed;
|
||||
use xmpp_parsers::{jid::Jid, ns, stream_features::StreamFeatures};
|
||||
|
||||
use crate::error::{Error, ProtocolError};
|
||||
use crate::xmpp_codec::{Packet, XmppCodec};
|
||||
use crate::xmpp_stream::XMPPStream;
|
||||
use crate::{Error, ProtocolError};
|
||||
|
||||
/// Sends a `<stream:stream>`, then wait for one from the server, and
|
||||
/// construct an XMPPStream.
|
||||
|
|
|
|||
Loading…
Reference in a new issue