Docs.rs
sh-layer2-1.0.2
sh-layer2 1.0.2
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
EnjouZeratul
Dependencies
anyhow ^1.0
normal
async-trait ^0.1
normal
chrono ^0.4
normal
glob ^0.3
normal
parking_lot ^0.12
normal
regex ^1.11
normal
serde ^1.0
normal
serde_json ^1.0
normal
sh-layer0 ^1.0.2
normal
sh-layer1 ^1.0.2
normal
sha2 ^0.10
normal
thiserror ^2.0
normal
tokio ^1.40
normal
toml ^0.8
normal
tracing ^0.1
normal
uuid ^1.11
normal
tempfile ^3.14
dev
libc ^0.2
normal
Versions
68.52%
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
Module session_manager
sh_
layer2
1.0.2
Module session_
manager
Sections
Session Manager
模块结构
Module Items
Structs
Traits
In crate sh_
layer2
sh_layer2
Module
session_
manager
Copy item path
Source
Expand description
§
Session Manager
会话管理模块,提供并发安全的会话存储和生命周期管理。
§
模块结构
manager
: ConcurrentSessionManager 实现
session
: Session 和 ExecutionContext 定义
lock
: ReadWriteLock 实现
context
: 执行上下文
Structs
§
Concurrent
Session
Manager
并发安全会话管理器
Execution
Context
执行上下文
Read
Write
Lock
读写分离锁
Session
会话状态
Session
Config
会话配置
Session
Stats
会话统计信息
Traits
§
Session
Manager
Trait
会话管理器接口
State
Lock
Trait
简化版状态锁接口(当读写分离不是瓶颈时使用)