Enum tower_http::classify::GrpcFailureClass [−][src]
pub enum GrpcFailureClass {
Code(NonZeroI32),
Error(String),
}Expand description
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[src]
impl Debug for GrpcFailureClass[src]Auto Trait Implementations
impl RefUnwindSafe for GrpcFailureClass
impl Send for GrpcFailureClass
impl Sync for GrpcFailureClass
impl Unpin for GrpcFailureClass
impl UnwindSafe for GrpcFailureClass
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]impl<T> PolicyExt for T where
T: ?Sized, [src]
impl<T> PolicyExt for T where
T: ?Sized, [src]