restructure auth code
This commit is contained in:
parent
bbadf75c01
commit
ce039d767e
4 changed files with 70 additions and 90 deletions
|
|
@ -104,7 +104,7 @@ impl Client {
|
|||
StartTlsClient::from_stream(stream)
|
||||
}
|
||||
|
||||
fn auth<S: AsyncRead + AsyncWrite>(
|
||||
fn auth<S: AsyncRead + AsyncWrite + 'static>(
|
||||
stream: xmpp_stream::XMPPStream<S>,
|
||||
username: String,
|
||||
password: String,
|
||||
|
|
|
|||
Loading…
Reference in a new issue