mirror of
https://github.com/fafhrd91/actix-net
synced 2025-06-29 16:14:58 +02:00
move Service to service sub mod
This commit is contained in:
@ -10,6 +10,7 @@ mod worker;
|
||||
pub use self::server::Server;
|
||||
pub use self::services::ServerServiceFactory;
|
||||
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use self::worker::{Connections, ConnectionsGuard};
|
||||
|
||||
/// Pause accepting incoming connections
|
||||
|
@ -5,7 +5,7 @@ use futures::{Future, Poll};
|
||||
use tokio_reactor::Handle;
|
||||
use tokio_tcp::TcpStream;
|
||||
|
||||
use {NewService, Service};
|
||||
use service::{NewService, Service};
|
||||
|
||||
pub enum ServerMessage {
|
||||
Connect(net::TcpStream),
|
||||
|
Reference in New Issue
Block a user