Crate silent

Source

Re-exports§

pub use crate::middleware::MiddleWareHandler;
pub use crate::middleware::middlewares;
pub use headers;

Modules§

header
HTTP header types
middleware
prelude

Structs§

Configs
A type map of protocol extensions.
HandlerWrapper
处理器包装结构体 包含 请求类型: Option 请求方法: Handler 其中请求类型可为空,用来定义中间件 请求方法不可为空,用来定义处理器 处理器为返回值为 Into + From的异步函数或者闭包函数
Method
The Request Method (VERB)
Next
The Next struct is used to chain multiple middlewares and endpoints together.
Request
请求体
Response
响应体
StatusCode
An HTTP status code (status-code in RFC 9110 et al.).

Enums§

SilentError
SilentError is the error type for the silent library.

Traits§

Handler

Type Aliases§

Result