macro_rules! rtry {
{ $exp:expr } => { ... };
}Expand description
similar to the try macro, but for RespResult
- if the $expr is RespResult::Success, will make it be the value of this expr
- if the $expr is RespResult::Error, will direct return with the error