Struct completion::io::Split[][src]

pub struct Split<'r, R: AsyncBufRead> { /* fields omitted */ }
This is supported on crate feature std only.

Stream for AsyncBufReadExt::split.

The lifetime parameter of this type is an implementation detail, and it should be set to the lifetime of R. For example, if R is Empty is should be 'static and if R is Cursor<&'a [u8]> it should be 'a.

Trait Implementations

impl<R: AsyncBufRead> CompletionStream for Split<'_, R>[src]

type Item = Result<Vec<u8>>

Values yielded by the stream.

impl<'r, R: AsyncBufRead> Stream for Split<'r, R> where
    <R as AsyncBufReadWith<'r>>::FillBufFuture: Future<Output = Result<&'r [u8]>>, 
[src]

type Item = Result<Vec<u8>>

Values yielded by the stream.

impl<'__pin, 'r, R: AsyncBufRead> Unpin for Split<'r, R> where
    __Origin<'__pin, 'r, R>: Unpin
[src]

Auto Trait Implementations

impl<'r, R> RefUnwindSafe for Split<'r, R> where
    R: RefUnwindSafe,
    <R as AsyncBufReadWith<'r>>::FillBufFuture: RefUnwindSafe

impl<'r, R> Send for Split<'r, R> where
    R: Send,
    <R as AsyncBufReadWith<'r>>::FillBufFuture: Send

impl<'r, R> Sync for Split<'r, R> where
    R: Sync,
    <R as AsyncBufReadWith<'r>>::FillBufFuture: Sync

impl<'r, R> !UnwindSafe for Split<'r, R>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CompletionStreamExt for T where
    T: CompletionStream + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StreamExt for T where
    T: Stream
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<S, T, E> TryStream for S where
    S: Stream<Item = Result<T, E>> + ?Sized
[src]

type Ok = T

The type of successful values yielded by this future

type Error = E

The type of failures yielded by this future