mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-06 22:37:39 +03:00
Migrate ntex-connect to async fn in trait
This commit is contained in:
parent
60620d4587
commit
2e12cc6edf
17 changed files with 134 additions and 231 deletions
|
@ -1,10 +1,10 @@
|
|||
//! An implementation of SSL streams for ntex backed by OpenSSL
|
||||
use std::io::{self, Read as IoRead, Write as IoWrite};
|
||||
use std::{any, cell::RefCell, sync::Arc, task::Poll};
|
||||
use std::{any, cell::RefCell, future::poll_fn, sync::Arc, task::Poll};
|
||||
|
||||
use ntex_bytes::BufMut;
|
||||
use ntex_io::{types, Filter, FilterLayer, Io, Layer, ReadBuf, WriteBuf};
|
||||
use ntex_util::{future::poll_fn, ready, time, time::Millis};
|
||||
use ntex_util::{ready, time, time::Millis};
|
||||
use tls_rust::{ServerConfig, ServerConnection};
|
||||
|
||||
use crate::rustls::{TlsFilter, Wrapper};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue