[−][src]Struct tokio_buf::util::Chain  
A buf stream that sequences two buf streams together.
Chain values are produced by the chain function on BufStream.
Trait Implementations
impl<T, U> BufStream for Chain<T, U> where
    T: BufStream,
    U: BufStream<Error = T::Error>, [src]
T: BufStream,
U: BufStream<Error = T::Error>,
type Item = Either<T::Item, U::Item>
Values yielded by the BufStream. Read more
type Error = T::Error
The error type this BufStream might generate.
fn poll_buf(&mut self) -> Poll<Option<Self::Item>, Self::Error>[src]
fn size_hint(&self) -> SizeHint[src]
impl<T: Debug, U: Debug> Debug for Chain<T, U>[src]
Auto Trait Implementations
impl<T, U> RefUnwindSafe for Chain<T, U> where
    T: RefUnwindSafe,
    U: RefUnwindSafe, 
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for Chain<T, U> where
    T: Send,
    U: Send, 
T: Send,
U: Send,
impl<T, U> Sync for Chain<T, U> where
    T: Sync,
    U: Sync, 
T: Sync,
U: Sync,
impl<T, U> Unpin for Chain<T, U> where
    T: Unpin,
    U: Unpin, 
T: Unpin,
U: Unpin,
impl<T, U> UnwindSafe for Chain<T, U> where
    T: UnwindSafe,
    U: UnwindSafe, 
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> BufStreamExt for T where
    T: BufStream, [src]
T: BufStream,
fn chain<T>(self, other: T) -> Chain<Self, T> where
    Self: Sized,
    T: BufStream<Error = Self::Error>, [src]
Self: Sized,
T: BufStream<Error = Self::Error>,
fn collect<T>(self) -> Collect<Self, T> where
    Self: Sized,
    T: FromBufStream<Self::Item>, [src]
Self: Sized,
T: FromBufStream<Self::Item>,
fn limit(self, amount: u64) -> Limit<Self> where
    Self: Sized, [src]
Self: Sized,
fn into_stream(self) -> IntoStream<Self> where
    Self: Sized, [src]
Self: Sized,
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>,