Skip to main content

default_server_control_hook_handler

Function default_server_control_hook_handler 

Source
pub fn default_server_control_hook_handler() -> ServerControlHookHandler<()>
Expand description

Creates a default ServerControlHook instance with default no-op hooks.

The default wait_hook and shutdown_hook do nothing, allowing the server to run without specific shutdown or wait logic unless configured otherwise.

ยงReturns

  • ServerControlHookHandler - A default ServerControlHookHandler instance.