pub enum ReadFlowSchemaStatusResponse {
Ok(FlowSchema),
Other(Result<Option<Value>, Error>),
}
Expand description
Use <ReadFlowSchemaStatusResponse as Response>::try_from_parts
to parse the HTTP response body of FlowSchema::read_status
Variants
Ok(FlowSchema)
Other(Result<Option<Value>, Error>)
Trait Implementations
sourceimpl Debug for ReadFlowSchemaStatusResponse
impl Debug for ReadFlowSchemaStatusResponse
sourceimpl Response for ReadFlowSchemaStatusResponse
impl Response for ReadFlowSchemaStatusResponse
sourcefn 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 ReadFlowSchemaStatusResponse
impl Send for ReadFlowSchemaStatusResponse
impl Sync for ReadFlowSchemaStatusResponse
impl Unpin for ReadFlowSchemaStatusResponse
impl UnwindSafe for ReadFlowSchemaStatusResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more