pub type ServerControlHookHandler<T> = Arc<dyn FutureFn<T, Output = Pin<Box<dyn Future<Output = T> + Send>>>>;Expand description
A type alias for a server control hook handler.
This type represents a thread-safe, reference-counted function that returns a boxed future when invoked. It is used for server lifecycle hooks such as graceful shutdown and wait operations.
Aliased Typeยง
pub struct ServerControlHookHandler<T> { /* private fields */ }