[][src]Struct amadeus::par_sink::Peekable

#[must_use = "streams do nothing unless polled"]pub struct Peekable<'a, St> where
    St: Stream
{ /* fields omitted */ }

Implementations

impl<'a, St> Peekable<'a, St> where
    St: Stream
[src]

pub fn poll_peek(
    self: Pin<&mut Peekable<'a, St>>,
    cx: &mut Context
) -> Poll<Option<&mut <St as Stream>::Item>>
[src]

Trait Implementations

impl<'a, St> Debug for Peekable<'a, St> where
    St: Debug + Stream,
    <St as Stream>::Item: Debug
[src]

impl<'a, S> Stream for Peekable<'a, S> where
    S: Stream
[src]

type Item = <S as Stream>::Item

Values yielded by the stream.

impl<'pin, 'a, St> Unpin for Peekable<'a, St> where
    St: Stream,
    __Peekable<'pin, 'a, St>: Unpin
[src]

impl<'a, St> UnsafeUnpin for Peekable<'a, St> where
    St: Stream
[src]

Auto Trait Implementations

impl<'a, St> RefUnwindSafe for Peekable<'a, St> where
    St: RefUnwindSafe,
    <St as Stream>::Item: RefUnwindSafe

impl<'a, St> Send for Peekable<'a, St> where
    St: Send,
    <St as Stream>::Item: Send

impl<'a, St> Sync for Peekable<'a, St> where
    St: Sync,
    <St as Stream>::Item: Sync

impl<'a, St> !UnwindSafe for Peekable<'a, St>

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<A, B> Downcast<A> for B where
    A: DowncastFrom<B>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

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

impl<S> StreamExt for S where
    S: Stream + ?Sized
[src]

impl<St> StreamExt for St where
    St: Stream + ?Sized
[src]

impl<S> StreamRetryExt for S where
    S: TryStream + ?Sized

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

impl<S> TryStreamExt for S where
    S: TryStream + ?Sized
[src]

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

impl<T> Type for T[src]

type Meta = Concrete

Type of metadata for type.

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