Struct conjure_runtime::raw::RawBody [−][src]
pub struct RawBody { /* fields omitted */ }The request body type passed to the raw HTTP client.
Trait Implementations
impl Body for RawBody[src]
impl Body for RawBody[src]type Data = Cursor<Bytes>
Values yielded by the Body.
type Error = BodyError
The error type this Body might generate.
fn poll_data(
self: Pin<&mut Self>,
cx: &mut Context<'_>
) -> Poll<Option<Result<Self::Data, Self::Error>>>[src]
self: Pin<&mut Self>,
cx: &mut Context<'_>
) -> Poll<Option<Result<Self::Data, Self::Error>>>
fn poll_trailers(
self: Pin<&mut Self>,
_: &mut Context<'_>
) -> Poll<Result<Option<HeaderMap>, Self::Error>>[src]
self: Pin<&mut Self>,
_: &mut Context<'_>
) -> Poll<Result<Option<HeaderMap>, Self::Error>>
fn is_end_stream(&self) -> bool[src]
pub fn size_hint(&self) -> SizeHint[src]
pub fn data(&mut self) -> Data<'_, Self> where
Self: Unpin, [src]
Self: Unpin,
pub fn trailers(&mut self) -> Trailers<'_, Self> where
Self: Unpin, [src]
Self: Unpin,
pub fn map_data<F, B>(self, f: F) -> MapData<Self, F> where
B: Buf,
F: FnMut(Self::Data) -> B, [src]
B: Buf,
F: FnMut(Self::Data) -> B,
pub fn map_err<F, E>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> E, [src]
F: FnMut(Self::Error) -> E,
pub fn boxed(self) -> BoxBody<Self::Data, Self::Error> where
Self: Send + Sync + 'static, [src]
Self: Send + Sync + 'static,
Auto Trait Implementations
impl !RefUnwindSafe for RawBody
impl !RefUnwindSafe for RawBodyimpl !UnwindSafe for RawBody
impl !UnwindSafe for RawBodyBlanket 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>,