logo

Type Definition tonic::Result

source · []
pub type Result<T, E = Status> = Result<T, E>;
Expand description

Result is a type that represents either success (Ok) or failure (Err). By default, the Err value is of type Status but this can be overridden if desired.