pub fn and_then<T2>(self, f: impl FnOnce(T) -> Result<T2, Error> + Send + Sync + 'static) -> MethodReply<T2> {
        let MethodReply(inner, first) = self;
        MethodReply(
            inner,
            Some({
                let first = first.unwrap();
                Box::new(|r| first(r).and_then(f))
            }),
        )
    }
/// Convenience combinator in case you want to post-process the result after reading it
Convenience combinator in case you want to post-process the result after reading it
Convenience combinator in case you want to post - process the result after reading it
pub fn and_then<T2>(self, f: impl FnOnce(T) -> Result<T2, Error> + Send + Sync + 'static) -> MethodReply<T2> {
        let MethodReply(inner, first) = self;
        MethodReply(
            inner,
            Some({
                let first = first.unwrap();
                Box::new(|r| first(r).and_then(f))
            }),
        )
    }
pub fn and_then < T2 > ( self , f : impl FnOnce ( T ) -> Result < T2 , Error > + Send + Sync + ' static ) -> MethodReply < T2 > { let MethodReply ( inner , first ) = self ; MethodReply ( inner , Some ( { let first = first . unwrap ( ) ; Box :: new ( | r | first ( r ) . and_then ( f ) ) } ) , ) }
Convenience combinator in case you want to post-process the result after reading it
Convenience combinator in case you want to post - process the result after reading it
self
f
impl FnOnce(T) -> Result<T2, Error> + Send + Sync + 'static
self
f
impl FnOnce(T) -> Result<T2, Error> + Send + Sync + 'static