[]Struct async_std::stream::Scan

pub struct Scan<S, St, F> { /* fields omitted */ }

A stream to maintain state while polling another stream.

This struct is created by the scan method on Stream. See its documentation for more.

Trait Implementations

impl<S, St, F, B> Stream for Scan<S, St, F> where
    S: Stream,
    F: FnMut(&mut St, S::Item) -> Option<B>, 
[src]

type Item = B

The type of items yielded by this stream. Read more

impl<'__pin, S, St, F> Unpin for Scan<S, St, F> where
    __Origin<'__pin, S, St, F>: Unpin

impl<S: Debug, St: Debug, F: Debug> Debug for Scan<S, St, F>[src]

Auto Trait Implementations

impl<S, St, F> Send for Scan<S, St, F> where
    F: Send,
    S: Send,
    St: Send

impl<S, St, F> Sync for Scan<S, St, F> where
    F: Sync,
    S: Sync,
    St: Sync

impl<S, St, F> UnwindSafe for Scan<S, St, F> where
    F: UnwindSafe,
    S: UnwindSafe,
    St: UnwindSafe

impl<S, St, F> RefUnwindSafe for Scan<S, St, F> where
    F: RefUnwindSafe,
    S: RefUnwindSafe,
    St: RefUnwindSafe

Blanket Implementations

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

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