Expand description
Static memory based single-producer single-consumer channel for communication between threads.
Structs§
- Cache
Padded - Pads and aligns a value to the length of a cache line.
- Receiver
- One endpoint of a channel, which can be used to receive
Sync
and'static
values from another thread. - Sender
- One endpoint of a channel, which can be used to send
Sync
and'static
values to another thread. - Sync
Unsafe Cell - A
Sync
UnsafeCell
whenT
isSync
. “Manually stabilized” from rustc feature gatesync_unsafe_cell
.
Functions§
- channel_
from_ parts - Creates a new channel from its raw parts.
Type Aliases§
- Channel
- Return type of
channel_from_parts
.