pub enum ReadNamespacedRouteStatusResponse {
Ok(Route),
Other(Result<Option<Value>, Error>),
}
Expand description
Use <ReadNamespacedRouteStatusResponse as Response>::try_from_parts
to parse the HTTP response body of Route::read_namespaced_route_status
Variants§
Trait Implementations§
Source§impl Response for ReadNamespacedRouteStatusResponse
impl Response for ReadNamespacedRouteStatusResponse
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. Read more
Auto Trait Implementations§
impl Freeze for ReadNamespacedRouteStatusResponse
impl !RefUnwindSafe for ReadNamespacedRouteStatusResponse
impl Send for ReadNamespacedRouteStatusResponse
impl Sync for ReadNamespacedRouteStatusResponse
impl Unpin for ReadNamespacedRouteStatusResponse
impl !UnwindSafe for ReadNamespacedRouteStatusResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more