Struct conjure_runtime::Response [−][src]
pub struct Response<B = DefaultRawBody> { /* fields omitted */ }
An asynchronous HTTP response.
Implementations
impl<B> Response<B>[src]
impl<B> Response<B>[src]pub fn status(&self) -> StatusCode[src]
Returns the response’s status.
pub fn headers(&self) -> &HeaderMap[src]
Returns the response’s headers.
pub fn into_body(self) -> ResponseBody<B>[src]
Consumes the response, returning its body.
Auto Trait Implementations
impl<B> RefUnwindSafe for Response<B> where
B: RefUnwindSafe,
impl<B> RefUnwindSafe for Response<B> where
B: RefUnwindSafe, impl<B = DefaultRawBody> !Unpin for Response<B>
impl<B = DefaultRawBody> !Unpin for Response<B>impl<B> UnwindSafe for Response<B> where
B: UnwindSafe,
impl<B> UnwindSafe for Response<B> where
B: UnwindSafe, Blanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,