pub enum ReadClusterCIDRResponse {
Ok(ClusterCIDR),
Other(Result<Option<Value>, Error>),
}
Expand description
Use <ReadClusterCIDRResponse as Response>::try_from_parts
to parse the HTTP response body of ClusterCIDR::read
Variants§
Trait Implementations§
source§impl Debug for ReadClusterCIDRResponse
impl Debug for ReadClusterCIDRResponse
source§impl Response for ReadClusterCIDRResponse
impl Response for ReadClusterCIDRResponse
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 RefUnwindSafe for ReadClusterCIDRResponse
impl Send for ReadClusterCIDRResponse
impl Sync for ReadClusterCIDRResponse
impl Unpin for ReadClusterCIDRResponse
impl UnwindSafe for ReadClusterCIDRResponse
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