Skip to content

Commit

Permalink
Update src/acceptor.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Dirkjan Ochtman <dirkjan@ochtman.nl>
  • Loading branch information
Licenser and djc authored May 23, 2023
1 parent df38522 commit 9747bc1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/acceptor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ use std::sync::Arc;
use tokio::io::{AsyncRead, AsyncWrite, ReadBuf};

mod builder;

pub use builder::AcceptorBuilder;
use builder::WantsTlsConfig;

use self::builder::WantsTlsConfig;
enum State {
Handshaking(tokio_rustls::Accept<AddrStream>),
Streaming(tokio_rustls::server::TlsStream<AddrStream>),
Expand Down

0 comments on commit 9747bc1

Please sign in to comment.