Enum fastcgi_client::ClientError[][src]

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,
    },
    RequestIdGenerateTimeout,
}

Variants

Io(Error)

Wapper of tokio::io::Error

RequestIdNotFound

Usually not happen.

Fields of RequestIdNotFound

id: u16
ResponseNotFound

Usually not happen.

Fields of ResponseNotFound

id: u16
UnknownRequestType

Maybe unimplemented request type received fom response.

Fields of UnknownRequestType

request_type: RequestType
EndRequestCantMpxConn

Response not complete, first is protocol status and second is app status, see fastcgi protocol.

Fields of EndRequestCantMpxConn

app_status: u32
EndRequestOverloaded

Response not complete, first is protocol status and second is app status, see fastcgi protocol.

Fields of EndRequestOverloaded

app_status: u32
EndRequestUnknownRole

Response not complete, first is protocol status and second is app status, see fastcgi protocol.

Fields of EndRequestUnknownRole

app_status: u32
RequestIdGenerateTimeout

Try to get lock of RequestIdGenerator timeout.

Trait Implementations

impl Debug for ClientError[src]

impl Display for ClientError[src]

impl Error for ClientError[src]

impl From<Error> for ClientError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.