Enum k8_client::ClientError [−][src]
#[non_exhaustive]
pub enum ClientError {
IoError(IoError),
EnvError(VarError),
JsonError(Error),
DiffError(DiffError),
HttpError(HttpError),
InvalidHttpHeader(InvalidHeaderValue),
K8ConfigError(ConfigError),
PatchError,
HyperError(HyperError),
Client(StatusCode),
Other(String),
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
IoError(IoError)
Tuple Fields of IoError
0: IoError
EnvError(VarError)
Tuple Fields of EnvError
0: VarError
JsonError(Error)
Tuple Fields of JsonError
0: Error
DiffError(DiffError)
Tuple Fields of DiffError
0: DiffError
HttpError(HttpError)
Tuple Fields of HttpError
0: HttpError
InvalidHttpHeader(InvalidHeaderValue)
Tuple Fields of InvalidHttpHeader
K8ConfigError(ConfigError)
Tuple Fields of K8ConfigError
0: ConfigError
HyperError(HyperError)
Tuple Fields of HyperError
0: HyperError
Client(StatusCode)
Tuple Fields of Client
0: StatusCode
Other(String)
Tuple Fields of Other
0: String
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
is not founded
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
Mutably borrows from an owned value. Read more
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