Struct actix_web::server::PauseServer [−][src]
pub struct PauseServer;
Pause accepting incoming connections
If socket contains some pending connection, they might be dropped. All opened connection remains active.
Trait Implementations
impl<H: IntoHttpHandler> Handler<PauseServer> for HttpServer<H>[src]
impl<H: IntoHttpHandler> Handler<PauseServer> for HttpServer<H>type Result = ()
The type of value that this handle will return
fn handle(&mut self, _: PauseServer, _: &mut Context<Self>)[src]
fn handle(&mut self, _: PauseServer, _: &mut Context<Self>)Method is called for every message received by this Actor
impl Message for PauseServer[src]
impl Message for PauseServerAuto Trait Implementations
impl Send for PauseServer
impl Send for PauseServerimpl Sync for PauseServer
impl Sync for PauseServer