Docs.rs
kcpserver-1.1.3
kcpserver 1.1.3
Docs.rs crate page
MIT/Apache-2.0
Links
Documentation
Repository
Crates.io
Source
Owners
luyikk
Dependencies
async-lock ^3.3
normal
async-trait ^0.1.40
normal
atomic-waker ^1
normal
bytes ^1
normal
chrono ^0.4
normal
data-rw ^1.6
normal
futures ^0.3
normal
log ^0.4
normal
thiserror ^1
normal
tokio ^1
normal
udp_server ^1
normal
anyhow ^1
dev
env_logger ^0.10
dev
Versions
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
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
kcpserver
1.1.3
Module prelude
Modules
Structs
Type Aliases
In crate kcpserver
?
Module
kcpserver
::
prelude
source
·
[
−
]
Modules
kcp_module
Structs
KcpListener
KcpListener 整个KCP 服务的入口点 config 存放KCP 配置
KcpPeer
kcp peer 用于管理玩家上下文 以及 读取 和发送 数据
KcpReader
kcp 读取器 可以使用tokio 的AsyncRead 套件 以及 futures 的AsyncRead 套件
KcpWriter
kcp 写入器 同时实现了 tokio AsyncWrite 和 futures AsyncWrite
Type Aliases
KCPPeer