Module ferron_common

Source

Modules§

log 🔒
with_runtime 🔒

Structs§

ErrorLogger
Facilitates logging of error messages through a provided logger sender.
RequestData
Contains data related to an HTTP request, including the original Hyper request and optional authentication user information.
ResponseData
Holds data related to an HTTP response, including the original request, optional authentication user information, and the response details.
ResponseDataBuilder
SocketData
Contains information about a network socket, including remote and local addresses, and whether the connection is encrypted.

Traits§

ServerModule
Represents a server module that can provide handlers for processing requests.
ServerModuleHandlers
Defines the interface for server module handlers, specifying how requests should be processed.

Type Aliases§

HyperRequest
Represents the HTTP request from Hyper.
HyperResponse
Represents the HTTP response from Hyper.
HyperUpgraded
Represents the upgraded HTTP connection from Hyper.
LogMessage
Represents a log message. This is a type alias for crate::log::LogMessage.
ServerConfig
Represents the server configuration object. This is a type alias for Yaml from the yaml_rust2 crate.
WithRuntime
A wrapper that ensures a function is executed within a specific runtime context. This is a type alias for crate::with_runtime::WithRuntime<F>.