Enum GrpcFailureClass
pub enum GrpcFailureClass
The failure class for GrpcErrorsAsFailures.
Variants
-
Code(NonZeroI32) A gRPC response was classified as a failure with the corresponding status.
-
Error(String) A gRPC response was classified as an error with the corresponding error description.
Trait Implementations
impl Debug for GrpcFailureClass
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for GrpcFailureClass
fn fmt(&self, f: &mut Formatter<'_>) -> Result