[][src]Struct futures_intrusive::channel::shared::SharedStream

pub struct SharedStream<MutexType, T, A> where
    MutexType: 'static + RawMutex,
    T: 'static,
    A: 'static + RingBuf<Item = T>, 
{ /* fields omitted */ }

A stream that receives from channel using a GenericReceiver.

Not driving the SharedStream to completion after it has been polled might lead to lost wakeup notifications.

Trait Implementations

impl<MutexType: Debug, T: Debug, A: Debug> Debug for SharedStream<MutexType, T, A> where
    MutexType: 'static + RawMutex,
    T: 'static,
    A: 'static + RingBuf<Item = T>, 
[src]

impl<MutexType, T, A> FusedStream for SharedStream<MutexType, T, A> where
    MutexType: RawMutex,
    A: 'static + RingBuf<Item = T>, 
[src]

impl<MutexType, T, A> Stream for SharedStream<MutexType, T, A> where
    MutexType: RawMutex,
    A: 'static + RingBuf<Item = T>, 
[src]

type Item = T

Values yielded by the stream.

Auto Trait Implementations

impl<MutexType, T, A> !RefUnwindSafe for SharedStream<MutexType, T, A>

impl<MutexType, T, A> Send for SharedStream<MutexType, T, A> where
    A: Send,
    MutexType: Send + Sync,
    T: Send

impl<MutexType, T, A> !Sync for SharedStream<MutexType, T, A>

impl<MutexType, T, A> !Unpin for SharedStream<MutexType, T, A>

impl<MutexType, T, A> !UnwindSafe for SharedStream<MutexType, T, A>

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<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