[][src]Struct snec::IterReceiver

pub struct IterReceiver<E: Entry, I> where
    &'a mut I: IntoIterator,
    <&'a mut I as IntoIterator>::Item: Receiver<E>, 
{ pub iter: I, // some fields omitted }

A receiver which creates an iterator from a reference to the contained value and notifies all items which the iterator produces.

Fields

iter: I

The iterable which produces iterators over the receivers.

Implementations

impl<E: Entry, I> IterReceiver<E, I> where
    &'a mut I: IntoIterator,
    <&'a mut I as IntoIterator>::Item: Receiver<E>, 
[src]

pub fn new(iter: I) -> Self[src]

Creates a new receiver which notifies the specified iterable of receivers.

Trait Implementations

impl<E: Entry, I: Clone> Clone for IterReceiver<E, I> where
    &'a mut I: IntoIterator,
    <&'a mut I as IntoIterator>::Item: Receiver<E>, 
[src]

impl<E: Entry, I: Copy> Copy for IterReceiver<E, I> where
    &'a mut I: IntoIterator,
    <&'a mut I as IntoIterator>::Item: Receiver<E>, 
[src]

impl<E: Entry, I: Debug> Debug for IterReceiver<E, I> where
    &'a mut I: IntoIterator,
    <&'a mut I as IntoIterator>::Item: Receiver<E>, 
[src]

impl<E: Entry, I: Default> Default for IterReceiver<E, I> where
    &'a mut I: IntoIterator,
    <&'a mut I as IntoIterator>::Item: Receiver<E>, 
[src]

impl<E: Entry, I> Receiver<E> for IterReceiver<E, I> where
    &'a mut I: IntoIterator,
    <&'a mut I as IntoIterator>::Item: Receiver<E>, 
[src]

impl<E: Entry, I, '_> Receiver<E> for &'_ IterReceiver<E, I> where
    &'a mut I: IntoIterator,
    &'a I: IntoIterator,
    <&'a mut I as IntoIterator>::Item: Receiver<E>,
    <&'a I as IntoIterator>::Item: Receiver<E>, 
[src]

Auto Trait Implementations

impl<E, I> RefUnwindSafe for IterReceiver<E, I> where
    E: RefUnwindSafe,
    I: RefUnwindSafe

impl<E, I> Send for IterReceiver<E, I> where
    E: Send,
    I: Send

impl<E, I> Sync for IterReceiver<E, I> where
    E: Sync,
    I: Sync

impl<E, I> Unpin for IterReceiver<E, I> where
    E: Unpin,
    I: Unpin

impl<E, I> UnwindSafe for IterReceiver<E, I> where
    E: UnwindSafe,
    I: UnwindSafe

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.