Struct actix_web::server::StopServer [−][src]
Stop incoming connection processing, stop all workers and exit.
If server starts with spawn()
method, then spawned thread get terminated.
Fields
graceful: bool
Whether to try and shut down gracefully
Trait Implementations
impl<H: IntoHttpHandler> Handler<StopServer> for HttpServer<H>
[src]
[+]
impl<H: IntoHttpHandler> Handler<StopServer> for HttpServer<H>
impl Message for StopServer
[src]
impl Message for StopServer
Auto Trait Implementations
impl Send for StopServer
impl Send for StopServer
impl Sync for StopServer
impl Sync for StopServer