1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-26 19:47:43 +02:00

merge master

This commit is contained in:
Nikolay Kim
2019-05-12 06:06:45 -07:00
7 changed files with 229 additions and 2 deletions

View File

@ -6,11 +6,12 @@
* Add `Debug` impl for `SslError`
* Derive debug for Server and ServerCommand
### Changed
* Upgrade to actix-service 0.4
## [0.4.3] - 2019-04-16
### Added

View File

@ -5,6 +5,7 @@ use futures::Future;
use crate::builder::ServerBuilder;
use crate::signals::Signal;
#[derive(Debug)]
pub(crate) enum ServerCommand {
WorkerDied(usize),
Pause(oneshot::Sender<()>),
@ -17,7 +18,7 @@ pub(crate) enum ServerCommand {
},
}
#[derive(Clone)]
#[derive(Debug, Clone)]
pub struct Server(UnboundedSender<ServerCommand>);
impl Server {