new_handler

Function new_handler 

Source
pub fn new_handler<E, I>() -> impl Pipe<Input = I, Output = Result<I, E>>
where I: Send + 'static, E: 'static,
Expand description

Convenience function for putting the input into a Result, allowing subsequent calls to functions like and_then to Just Work.