pub enum ConnectCoreV1PutNamespacedPodProxyWithPathResponse {
Ok(String),
Unauthorized,
Other,
}
Expand description
Parses the HTTP response of Pod::connect_core_v1_put_namespaced_pod_proxy_with_path
Variants§
Trait Implementations§
source§impl Response for ConnectCoreV1PutNamespacedPodProxyWithPathResponse
impl Response for ConnectCoreV1PutNamespacedPodProxyWithPathResponse
source§fn try_from_parts(
status_code: StatusCode,
buf: &[u8]
) -> Result<(Self, usize), ResponseError>
fn try_from_parts(
status_code: StatusCode,
buf: &[u8]
) -> Result<(Self, usize), ResponseError>
Tries to parse the response from the given status code and response body.