A one-shot, futures-aware channel
This channel is similar to that in
sync::oneshot but cannot be sent across
Type of future which
A future representing the completion of a computation happening elsewhere in memory.
Represents the completion half of a oneshot through which the result of a computation is signaled.
Handle returned from the
Creates a new futures-aware, one-shot channel.
Spawns a function