Skip to main content

Attempt

Type Alias Attempt 

Source
type Attempt = Shared<BoxFuture<'static, Result<()>>>;
Expand description

One in-flight attempt, shared by every caller that asks for the same epoch while it runs. Whoever polls it drives it, so it outlives the task that started it as long as somebody is still waiting.

Aliased Typeยง

struct Attempt { /* private fields */ }