pub enum ClientError {
Io(Error),
RequestIdNotFound {
id: u16,
},
ResponseNotFound {
id: u16,
},
UnknownRequestType {
request_type: RequestType,
},
EndRequestCantMpxConn {
app_status: u32,
},
EndRequestOverloaded {
app_status: u32,
},
EndRequestUnknownRole {
app_status: u32,
},
}
Variants§
Io(Error)
Wapper of tokio::io::Error
RequestIdNotFound
Usually not happen.
ResponseNotFound
Usually not happen.
UnknownRequestType
Fields
§
request_type: RequestType
Maybe unimplemented request type received fom response.
EndRequestCantMpxConn
Response not complete, first is protocol status and second is app status, see fastcgi protocol.
EndRequestOverloaded
Response not complete, first is protocol status and second is app status, see fastcgi protocol.
EndRequestUnknownRole
Response not complete, first is protocol status and second is app status, see fastcgi protocol.
Trait Implementations§
source§impl Debug for ClientError
impl Debug for ClientError
source§impl Display for ClientError
impl Display for ClientError
source§impl Error for ClientError
impl Error for ClientError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for ClientError
impl Send for ClientError
impl Sync for ClientError
impl Unpin for ClientError
impl !UnwindSafe for ClientError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more