impl stream for client

This commit is contained in:
Astro 2017-06-20 21:26:51 +02:00
commit 1e2672ba50
7 changed files with 254 additions and 70 deletions

View file

@ -15,6 +15,7 @@ use stream_start::StreamStart;
pub const NS_XMPP_TLS: &str = "urn:ietf:params:xml:ns:xmpp-tls";
pub struct StartTlsClient<S: AsyncRead + AsyncWrite> {
state: StartTlsClientState<S>,
jid: Jid,