MCPcopy Create free account
hub / github.com/actix/examples / stop

Method stop

shutdown-server/src/main.rs:61–64  ·  view source on GitHub ↗

Sends stop signal through contained server handle.

(&self, graceful: bool)

Source from the content-addressed store, hash-verified

59
60 /// Sends stop signal through contained server handle.
61 pub(crate) fn stop(&self, graceful: bool) {
62 #[allow(clippy::let_underscore_future)]
63 let _ = self.inner.lock().as_ref().unwrap().stop(graceful);
64 }
65}

Callers 15

mainFunction · 0.80
stdin_callbackFunction · 0.80
handleMethod · 0.80
stdin_callbackFunction · 0.80
handle_hbMethod · 0.80
handle_ws_msgMethod · 0.80
hbMethod · 0.80
startedMethod · 0.80
handleMethod · 0.80
handleMethod · 0.80
stdin_callbackFunction · 0.80
startedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected