Module lite

Module lite 

Source
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§

LiteStorage
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

Type Aliases§

Receiver
Receiver for one-shot state transfer
Sender
Sender for one-shot state transfer