Enum k8s_openapi::v1_12::api::networking::v1::WatchNetworkingV1NamespacedNetworkPolicyResponse
source · pub enum WatchNetworkingV1NamespacedNetworkPolicyResponse {
Ok(WatchEvent),
Unauthorized,
Other,
}
Expand description
Parses the HTTP response of NetworkPolicy::watch_networking_v1_namespaced_network_policy
Variants§
Ok(WatchEvent)
Other
Trait Implementations§
source§impl Response for WatchNetworkingV1NamespacedNetworkPolicyResponse
impl Response for WatchNetworkingV1NamespacedNetworkPolicyResponse
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.