wip: feat: change request body from either to explicit enum
This commit is contained in:
parent
008b62a925
commit
1c18f3836a
8 changed files with 45 additions and 41 deletions
|
|
@ -28,6 +28,8 @@ pub enum RpxyError {
|
|||
HyperIncomingLikeNewClosed,
|
||||
#[error("New body write aborted")]
|
||||
HyperNewBodyWriteAborted,
|
||||
#[error("Hyper error in serving request or response body type: {0}")]
|
||||
HyperBodyError(#[from] hyper::Error),
|
||||
|
||||
// http/3 errors
|
||||
#[cfg(any(feature = "http3-quinn", feature = "http3-s2n"))]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue