Struct actix_server::Server
source · pub struct Server(_);
Implementations§
source§impl Server
impl Server
sourcepub fn build() -> ServerBuilder
pub fn build() -> ServerBuilder
Start server building process
sourcepub fn pause(&self) -> impl Future<Item = (), Error = ()>
pub fn pause(&self) -> impl Future<Item = (), Error = ()>
Pause accepting incoming connections
If socket contains some pending connection, they might be dropped. All opened connection remains active.