Trait tokio_retry::Action
source · [−]pub trait Action {
type Future: Future<Item = Self::Item, Error = Self::Error>;
type Item;
type Error;
fn run(&mut self) -> Self::Future;
}
Expand description
An action can be run multiple times and produces a future.
Associated Types
The future that this action produces.