Module state_guard

Source
Expand description

State 守卫模块

提供 RAII 模式的 State 管理,确保异常安全

Structs§

StateGuard
State 守卫,使用 RAII 模式自动管理 State 的设置和清理

Functions§

with_state_async
异步版本的 State 守卫便利函数