ResFut

Trait ResFut 

Source
pub trait ResFut<'a, R, E>:
    Future<Output = Result<R, E>>
    + Send
    + 'a { }
Expand description

A future that resolves to a Result.

Implementors§

Source§

impl<'a, R, E, T: Future<Output = Result<R, E>> + Send + 'a> ResFut<'a, R, E> for T