Skip to main content

Module builder

Module builder 

Source
Expand description

Fluent builder for crate::embed::Server.

ServerBuilder mirrors every YAML-visible field on crate::conf::ConfPool with a typed setter and adds typed setters for the hook traits that have no YAML form.

The builder is owned and chainable; build() validates the assembled config (the same crate::conf::Config::validate used for YAML) and returns a crate::embed::Server.

Structsยง

ServerBuilder
Fluent builder for Server.