[][src]Enum amadeus::par_stream::ChainTask

pub enum ChainTask<A, B> {
    A(A),
    B(B),
}

Variants

A(A)
B(B)

Trait Implementations

impl<'de, A, B> Deserialize<'de> for ChainTask<A, B> where
    A: Deserialize<'de>,
    B: Deserialize<'de>, 
[src]

impl<A, B> Serialize for ChainTask<A, B> where
    A: Serialize,
    B: Serialize
[src]

impl<A, B> Stream for ChainTask<A, B> where
    A: Stream,
    B: Stream<Item = <A as Stream>::Item>, 
[src]

type Item = <A as Stream>::Item

Values yielded by the stream.

impl<A, B> StreamTask for ChainTask<A, B> where
    A: StreamTask,
    B: StreamTask<Item = <A as StreamTask>::Item>, 
[src]

type Item = <A as StreamTask>::Item

type Async = ChainTask<<A as StreamTask>::Async, <B as StreamTask>::Async>

impl<'pin, A, B> Unpin for ChainTask<A, B> where
    __ChainTask<'pin, A, B>: Unpin
[src]

impl<A, B> UnsafeUnpin for ChainTask<A, B>[src]

Auto Trait Implementations

impl<A, B> RefUnwindSafe for ChainTask<A, B> where
    A: RefUnwindSafe,
    B: RefUnwindSafe

impl<A, B> Send for ChainTask<A, B> where
    A: Send,
    B: Send

impl<A, B> Sync for ChainTask<A, B> where
    A: Sync,
    B: Sync

impl<A, B> UnwindSafe for ChainTask<A, B> where
    A: UnwindSafe,
    B: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any + Serialize + Deserialize
[src]

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

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

impl<T> Deserialize for T where
    T: DeserializeOwned
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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> ProcessSend for T where
    T: Send + Serialize + for<'de> Deserialize<'de> + ?Sized
[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> Serialize for T where
    T: Serialize + ?Sized
[src]

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

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