Docs.rs
hcnet-0.1.1
hcnet 0.1.1
Permalink
Docs.rs crate page
MIT
/
Apache-2.0
03 October 2026
Links
Repository
crates.io
Source
Owners
tickbh
Dependencies
algorithm ^0.1.5
normal
async-trait ^0.1.83
normal
base64 ^0.22
normal
chrono ^0.4.31
normal
env_logger ^0.11.5
normal
kcp ^0.5.3
normal
lazy_static ^1.5.0
normal
log ^0.4.22
normal
rand ^0.8.5
normal
rustls-pemfile ^2.2.0
normal
serde ^1.0.216
normal
sha1 ^0.10.6
normal
tokio ^1.40.0
normal
tokio-rustls ^0.26
normal
tokio_kcp ^0.9.8
normal
webparse ^0.3.0
normal
webpki-roots ^0.26
normal
bpaf ^0.9.15
dev
Versions
65%
of the crate is documented
Platform
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
Skip to main content
Crate hcnet
hcnet
0.1.1
All Items
Crate Items
Structs
Enums
Traits
Functions
Type Aliases
Crate
hcnet
Copy item path
Source
Structs
§
Builder
NetSender
Settings
TcpAccept
Server
TcpConn
Wrap
Listener
Enums
§
Close
Code
Maybe
TlsStream
当前可能是tcp也可能是tcps的连接
Message
统一封装消息包与websocket统一
NetConn
对外的网络对象, 仅提供相同的api来进行操作支持
NetError
NetType
OpCode
Traits
§
Handler
连接处理回调函数
Functions
§
decode_
message
encode_
message
encode_
u24
read_
u24
Type Aliases
§
NetReceiver
NetResult