Struct actix_web::server::StopServer [] [src]

pub struct StopServer {
    pub graceful: bool,
}

Stop incoming connection processing, stop all workers and exit.

If server starts with spawn() method, then spawned thread get terminated.

Fields

Trait Implementations

impl ResponseType for StopServer
[src]

The type of value that this message will resolved with if it is successful.

The type of error that this message will resolve with if it fails in a normal fashion.