[][src]Enum amadeus_core::util::ResultExpandIter

pub enum ResultExpandIter<T, E> {
    Ok(T),
    Err(Option<E>),
}

Variants

Ok(T)
Err(Option<E>)

Implementations

impl<T, E> ResultExpandIter<T, E>[src]

pub fn new(t: Result<T, E>) -> Self[src]

Trait Implementations

impl<T, E> Iterator for ResultExpandIter<T, E> where
    T: Iterator
[src]

type Item = Result<T::Item, E>

The type of the elements being iterated over.

impl<T, E> PinnedDrop for ResultExpandIter<T, E>[src]

impl<T, E> Stream for ResultExpandIter<T, E> where
    T: Stream
[src]

type Item = Result<T::Item, E>

Values yielded by the stream.

impl<'pin, T, E> Unpin for ResultExpandIter<T, E> where
    __ResultExpandIter<'pin, T, E>: Unpin
[src]

impl<T, E> UnsafeUnpin for ResultExpandIter<T, E>[src]

Auto Trait Implementations

impl<T, E> RefUnwindSafe for ResultExpandIter<T, E> where
    E: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, E> Send for ResultExpandIter<T, E> where
    E: Send,
    T: Send

impl<T, E> Sync for ResultExpandIter<T, E> where
    E: Sync,
    T: Sync

impl<T, E> UnwindSafe for ResultExpandIter<T, E> where
    E: UnwindSafe,
    T: 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<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<I> IteratorRandom for I where
    I: Iterator
[src]

impl<T> Itertools for T where
    T: Iterator + ?Sized
[src]

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

impl<T> StreamExt for T where
    T: Stream + ?Sized
[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

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

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