Expand description
Lightweight oneshot channel for State-encodable types.
用于 State 可编码类型的轻量级一次性通道。
Re-exports§
pub use super::common::RecvError;pub use super::common::TryRecvError;pub use super::common::error;
Structs§
- Lite
Storage - Storage for State-encodable types using only
AtomicU8
Traits§
- State
- Trait for types that can be used as oneshot state
Functions§
- channel
- Create a new oneshot channel for State types