Struct actix_server::Server [−][src]
pub struct Server(_, _);
Expand description
Server handle.
Shutdown Signals
On UNIX systems, SIGQUIT
will start a graceful shutdown and SIGTERM
or SIGINT
will start a
forced shutdown. On Windows, a CTRL-C signal will start a forced shutdown.
A graceful shutdown will wait for all workers to stop first.
Implementations
pub fn build() -> ServerBuilderⓘNotable traits for ServerBuilderimpl Future for ServerBuilder type Output = ();
pub fn build() -> ServerBuilderⓘNotable traits for ServerBuilderimpl Future for ServerBuilder type Output = ();
Notable traits for ServerBuilder
impl Future for ServerBuilder type Output = ();
Start server building process
Pause accepting incoming connections
If socket contains some pending connection, they might be dropped. All opened connection remains active.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Server
impl !UnwindSafe for Server
Blanket Implementations
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?
🔬 This is a nightly-only experimental API. (
into_future
)Creates a future from a value.