Module core

Module core 

Source
Expand description

Core traits and types for the web server abstraction.

Structs§

BoundServer
A bound server ready to run
Next
Represents the next middleware in the chain
Route
Route definition with advanced routing features
WebServer
Main web server struct that uses an adapter

Enums§

AdapterType

Traits§

Handler
A handler that can be converted to a HandlerFn
Middleware
Trait for middleware components

Type Aliases§

BoxFuture
A boxed future that returns a Result
HandlerFn
A handler function type that takes a request and returns a response