MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / client_stop_server

Function client_stop_server

crates/hyperqueue/src/client/server.rs:4–8  ·  view source on GitHub ↗
(connection: &mut ClientConnection)

Source from the content-addressed store, hash-verified

2use crate::transfer::messages::FromClientMessage;
3
4pub async fn client_stop_server(connection: &mut ClientConnection) -> crate::Result<()> {
5 connection.send(FromClientMessage::Stop).await?;
6 log::info!("Stopping server");
7 Ok(())
8}

Callers 2

stop_serverFunction · 0.85
test_start_stopFunction · 0.85

Calls 1

sendMethod · 0.45

Tested by 1

test_start_stopFunction · 0.68