common_
error
0.9.5
In common_
error::
status_
code
common_error
::
status_code
Function
status_to_tonic_code
Copy item path
source
pub fn status_to_tonic_code(status_code:
StatusCode
) ->
Code
Expand description
Returns the tonic
Code
of a
StatusCode
.