Expand description
Core types shared by every Kerniq Server crate.
This crate sits at the bottom of the dependency graph and contains only what every other crate needs:
Error/Result— the framework error model and its JSON envelope (errormodule).ServerConfig— programmatic, environment and file configuration (configmodule).ServerError— failures while starting or running the server.
Application code normally uses these through kerniq_server::prelude.
Re-exports§
pub use config::ConfigError;pub use config::ServerConfig;pub use error::BoxError;pub use error::Error;pub use error::OptionExt;pub use error::Result;pub use error::ResultExt;
Modules§
Enums§
- Server
Error - Errors raised while starting or running the HTTP server (as opposed to errors produced while handling a request).