1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-27 06:09:02 +02:00

add local_addr binding to connector service

This commit is contained in:
fakeshadow
2021-02-24 01:13:17 +08:00
parent 8d74cf387d
commit c3be839a69
4 changed files with 98 additions and 12 deletions

View File

@ -76,7 +76,7 @@ pub mod net {
use tokio::io::{AsyncRead, AsyncWrite};
pub use tokio::net::UdpSocket;
pub use tokio::net::{TcpListener, TcpStream};
pub use tokio::net::{TcpListener, TcpSocket, TcpStream};
#[cfg(unix)]
pub use tokio::net::{UnixDatagram, UnixListener, UnixStream};