pub fn into_result(self) -> Result<T, Error> {
        if let Some(e) = self.error {
            return Err(Error::Rpc(e));
        }

        self.result.ok_or(Error::NoErrorOrResult)
    }
/// Extract the result from a response, consuming the response
Extract the result from a response, consuming the response
Extract the result from a response consuming the response
pub fn into_result(self) -> Result<T, Error> {
        if let Some(e) = self.error {
            return Err(Error::Rpc(e));
        }
        self.result.ok_or(Error::NoErrorOrResult)
    }
pub fn into_result ( self ) -> Result < T , Error > { if let Some ( e ) = self . error { return Err ( Error :: Rpc ( e ) ) ; } self . result . ok_or ( Error :: NoErrorOrResult ) }
Extract the result from a response, consuming the response
Extract the result from a response consuming the response
self
self