[−][src]Struct client::pb::server::reconnect_service::ResponseBody
Trait Implementations
impl<T> Body for ResponseBody<T> where
T: ReconnectService,
[src]
T: ReconnectService,
type Data = <BoxBody as Body>::Data
Values yielded by the Body
.
type Error = Status
The error type this BufStream
might generate.
fn is_end_stream(&self) -> bool
[src]
fn poll_data(&mut self) -> Poll<Option<Self::Data>, Self::Error>
[src]
fn poll_trailers(&mut self) -> Poll<Option<HeaderMap>, Self::Error>
[src]
fn size_hint(&self) -> SizeHint
[src]
Returns the bounds on the remaining length of the stream. Read more
Auto Trait Implementations
impl<T> Unpin for ResponseBody<T>
impl<T> Sync for ResponseBody<T>
impl<T> Send for ResponseBody<T>
impl<T> UnwindSafe for ResponseBody<T>
impl<T> RefUnwindSafe for ResponseBody<T>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Body for T where
T: Body,
<T as Body>::Error: Into<Box<dyn Error + 'static + Send + Sync>>,
[src]
T: Body,
<T as Body>::Error: Into<Box<dyn Error + 'static + Send + Sync>>,
type Data = <T as Body>::Data
type Error = <T as Body>::Error
fn is_end_stream(&self) -> bool
[src]
fn poll_data(
&mut self
) -> Result<Async<Option<<T as Body>::Data>>, <T as Body>::Error>
[src]
&mut self
) -> Result<Async<Option<<T as Body>::Data>>, <T as Body>::Error>
fn poll_trailers(
&mut self
) -> Result<Async<Option<HeaderMap<HeaderValue>>>, <T as Body>::Error>
[src]
&mut self
) -> Result<Async<Option<HeaderMap<HeaderValue>>>, <T as Body>::Error>
impl<T> Body for T where
T: BufStream,
[src]
T: BufStream,
type Data = <T as BufStream>::Item
Values yielded by the Body
.
type Error = <T as BufStream>::Error
The error type this BufStream
might generate.
fn poll_data(
&mut self
) -> Result<Async<Option<<T as Body>::Data>>, <T as Body>::Error>
[src]
&mut self
) -> Result<Async<Option<<T as Body>::Data>>, <T as Body>::Error>
fn size_hint(&self) -> SizeHint
[src]
fn poll_trailers(
&mut self
) -> Result<Async<Option<HeaderMap<HeaderValue>>>, <T as Body>::Error>
[src]
&mut self
) -> Result<Async<Option<HeaderMap<HeaderValue>>>, <T as Body>::Error>
fn is_end_stream(&self) -> bool
[src]
impl<T> BodyExt for T where
T: Body,
[src]
T: Body,
fn into_buf_stream(self) -> IntoBufStream<Self>
[src]
Wrap the Body
so that it implements tokio_buf::BufStream directly.