Trait tokio_retry::Action [] [src]

pub trait Action {
    type Future: Future<Item = Self::Item, Error = Self::Error>;
    type Item;
    type Error;
    fn run(&mut self) -> Self::Future;
}

An action can be run multiple times and produces a future.

Associated Types

The future that this action produces.

The item that the future may resolve with.

The error that the future may resolve with.

Required Methods

Implementors