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
|
|
@ -2,9 +2,9 @@ use futures::stream::StreamExt;
|
|||
use tokio::io::{AsyncRead, AsyncWrite};
|
||||
use xmpp_parsers::{component::Handshake, ns};
|
||||
|
||||
use crate::error::{AuthError, Error};
|
||||
use crate::xmpp_codec::Packet;
|
||||
use crate::xmpp_stream::XMPPStream;
|
||||
use crate::{AuthError, Error};
|
||||
|
||||
pub async fn auth<S: AsyncRead + AsyncWrite + Unpin>(
|
||||
stream: &mut XMPPStream<S>,
|
||||
|
|
|
|||
Loading…
Reference in a new issue