Skip to main content

Crate pending

Crate pending 

Source

Modules§

strategy
The strategy module contains the strategy::SpawnStrategy trait, as well as markers for different strategies. These strategies define how workers are spawned.

Structs§

Pending
A oneshot single-producer/single-consumer receiver that works in tandem with Responder.
Responder
A oneshot single-producer/single-consumer sender that works in tandem with Pending.

Enums§

Reason
Represents the reason that Pending::try_recv was unable to receive a response.

Functions§

pair
Create a Sender/Receiver (Responder/Pending).
spawn
Spawn a worker thread using the given strategy.
spawn_std
Spawn a worker thread using the standard library threading API.