Docs.rs
zerust-1.0.4
zerust 1.0.4
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
zhaowuzu
Dependencies
byteorder ^1.5.0
normal
dashmap ^7.0.0-rc2
normal
thiserror ^2.0.12
normal
tokio ^1.47.1
normal
Versions
100%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
zerust
1.0.4
Module server
Sections
服务器核心模块
主要功能
Module Items
Structs
In crate zerust
zerust
Module
server
Copy item path
Source
Expand description
§
服务器核心模块
该模块提供了TCP服务器的核心功能,包括监听连接、处理请求和响应等。 它是框架的主要入口点,负责协调各个组件的工作。
§
主要功能
绑定并监听TCP端口
接收客户端连接
为每个连接创建独立的异步任务
协调路由器和连接管理器的工作
Structs
§
Server
表示一个TCP服务器