[][src]Struct io::Split

pub struct Split<R: Read<T>, T: Copy, P: FnMut(T) -> bool, E: From<R::Err> + From<NoMemory>> {
    pub r: R,
    pub buf: Option<Vec<T>>,
    // some fields omitted
}

Fields

r: Rbuf: Option<Vec<T>>

Trait Implementations

impl<R: Debug + Read<T>, T: Debug + Copy, P: Debug + FnMut(T) -> bool, E: Debug + From<R::Err> + From<NoMemory>> Debug for Split<R, T, P, E>[src]

impl<R: Read<T>, T: Copy, P: FnMut(T) -> bool, E: From<R::Err> + From<NoMemory>> Iterator for Split<R, T, P, E>[src]

type Item = Result<Vec<T>, E>

The type of the elements being iterated over.

Auto Trait Implementations

impl<R, T, P, E> Send for Split<R, T, P, E> where
    E: Send,
    P: Send,
    R: Send,
    T: Send

impl<R, T, P, E> Sync for Split<R, T, P, E> where
    E: Sync,
    P: Sync,
    R: Sync,
    T: Sync

impl<R, T, P, E> Unpin for Split<R, T, P, E> where
    E: Unpin,
    P: Unpin,
    R: Unpin,
    T: Unpin

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> From<T> for T[src]

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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<I> TryIterator for I where
    I: Iterator

type Item = <I as Iterator>::Item

type Error = Void