Enum hrpc::DecodeBodyError [−][src]
pub enum DecodeBodyError {
InvalidProtoMessage(DecodeError),
InvalidBody(BoxError),
}
Expand description
Errors that can occur while decoding the body of a Request
.
Variants
InvalidProtoMessage(DecodeError)
The body contained an invalid protobuf message.
Tuple Fields of InvalidProtoMessage
0: DecodeError
InvalidBody(BoxError)
An error occured while reading the body.
Tuple Fields of InvalidBody
0: BoxError
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for DecodeBodyError
impl Send for DecodeBodyError
impl Sync for DecodeBodyError
impl Unpin for DecodeBodyError
impl !UnwindSafe for DecodeBodyError
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert this to a hRPC response.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more