Enum k8s_openapi::ResponseError[][src]

pub enum ResponseError {
    NeedMoreData,
    Json(Error),
    Utf8(Utf8Error),
}

The type of errors from parsing an HTTP response as one of the Kubernetes API functions' response types.

Variants

An error from deserializing the HTTP response, indicating more data is needed to complete deserialization.

An error while deserializing the HTTP response as a JSON value, indicating the response is malformed.

An error while deserializing the HTTP response as a string, indicating that the response data is not UTF-8.

Trait Implementations

impl Debug for ResponseError
[src]

Formats the value using the given formatter. Read more

impl Display for ResponseError
[src]

Formats the value using the given formatter. Read more

impl Error for ResponseError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

Auto Trait Implementations