/// The configuration of the shutdown plugin.
#[derive(Clone, Debug)]pubstructShutdownConfig{/// Whether the server also stops when the process is terminated.
pubwatch_terminate:bool,
/// The message the default handler writes when the server stops.
pubmessage: String,
}/// The plugin that stops the server when the process is asked to.
#[derive(Clone, Copy, Debug, Default)]pubstructShutdownPlugin;