[][src]Struct websocket_base::ws::receiver::DataFrameIterator

pub struct DataFrameIterator<'a, Recv, R> where
    Recv: 'a + Receiver,
    R: 'a + Read
{ /* fields omitted */ }

An iterator over data frames from a Receiver.

Trait Implementations

impl<'a, Recv, R> Iterator for DataFrameIterator<'a, Recv, R> where
    Recv: 'a + Receiver,
    R: Read
[src]

type Item = WebSocketResult<Recv::F>

The type of the elements being iterated over.

fn next(&mut self) -> Option<WebSocketResult<Recv::F>>[src]

Get the next data frame from the receiver. Always returns Some.

Auto Trait Implementations

impl<'a, Recv, R> Send for DataFrameIterator<'a, Recv, R> where
    R: Send,
    Recv: Send

impl<'a, Recv, R> Sync for DataFrameIterator<'a, Recv, R> where
    R: Sync,
    Recv: Sync

impl<'a, Recv, R> Unpin for DataFrameIterator<'a, Recv, R>

impl<'a, Recv, R> !UnwindSafe for DataFrameIterator<'a, Recv, R>

impl<'a, Recv, R> RefUnwindSafe for DataFrameIterator<'a, Recv, R> where
    R: RefUnwindSafe,
    Recv: RefUnwindSafe

Blanket Implementations

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

impl<T> From<T> for 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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

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

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,