result

Function result 

Source
pub fn result<T>() -> Result<T, String>
where T: for<'a> ArgumentDecoder<'a>,
Expand description

Returns a result that maps over the call

It will be Ok(T) if the call succeeded (with T being the arg_data), and reject_message() if it failed.