pub enum WatchStorageV1beta1StorageClassResponse {
Ok(WatchEvent),
Unauthorized,
Other,
}
Expand description
Parses the HTTP response of StorageClass::watch_storage_v1beta1_storage_class
Variants§
Ok(WatchEvent)
Other
Trait Implementations§
source§impl Response for WatchStorageV1beta1StorageClassResponse
impl Response for WatchStorageV1beta1StorageClassResponse
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.