Expand description
Modules§
- chan
- singleflight
- Deduplicate concurrent calls keyed by an arbitrary key.
Macros§
- go
- Spawn an async task (Go-style). Returns a
JoinHandle<T>. - select
select!macro that multiplexes multiple channel recv operations.
Structs§
- Elapsed
- Error returned when a
timeoutexpires. - Join
Handle - A handle to a spawned task. Dropping it detaches the task (fire-and-forget).
- Wait
Group - A synchronization primitive that waits for a group of tasks to complete.
- Wait
Group Guard - A guard that calls
WaitGroup::done()when dropped.
Enums§
- Join
Error - Error returned when a spawned task fails.