Trait eventuals::TryEventualExt [−][src]
pub trait TryEventualExt<Ok, Err>: Sized + IntoReader<Output = Result<Ok, Err>> where
Ok: Value,
Err: Value, { fn handle_errors<F>(self, f: F) -> Eventual<Ok>
where
F: 'static + Send + FnMut(Err), { ... } }
Provided methods
fn handle_errors<F>(self, f: F) -> Eventual<Ok> where
F: 'static + Send + FnMut(Err),
fn handle_errors<F>(self, f: F) -> Eventual<Ok> where
F: 'static + Send + FnMut(Err),
👎 Deprecated:
Not deterministic. This is a special case of filter. Retry should be better
Implementors
impl<E, Ok, Err> TryEventualExt<Ok, Err> for E where
E: IntoReader<Output = Result<Ok, Err>>,
Ok: Value,
Err: Value,