Crate maria

Source

Macros§

handler
macro for defining handlers first param is Request, second is Response

Structs§

Arc
A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
Mutex
An asynchronous Mutex-like type.
Request
Response
Router

Enums§

ContentType
HttpMethod
StatusCode

Functions§

pack_handler

Type Aliases§

Handler
A box pointing to HandlerFn
HandlerFn
function pointer for Handlers
HandlerPtr
HandlerPtr, pointer type for Handlers returning