[][src]Struct vessels::kind::SinkStream

pub struct SinkStream<T, E, U>(_, _);

Methods

impl<T, E, U> SinkStream<T, E, U>[src]

pub fn new<R: ISink<T, Error = E> + Sync + Send + 'static, S: IStream<Item = U> + Sync + Send + 'static>(
    sink: R,
    stream: S
) -> Self
[src]

Trait Implementations

impl<T, E, U> Kind for SinkStream<T, E, U> where
    T: Kind,
    E: Kind,
    U: Kind
[src]

type ConstructItem = _DERIVE_Items

The item transmitted over the network to the construction task from deconstruction. Read more

type ConstructError = Void

The failure condition of constructing a concrete type from communicated data.

type ConstructFuture = Future<ConstructResult<Self>>

The concrete future type returned by the construction process.

type DeconstructItem = ()

The item transmitted over the network from the construction task to deconstruction. Read more

type DeconstructError = Void

The failure condition of constructing a concrete type from communicated data.

type DeconstructFuture = Future<DeconstructResult<Self>>

The concrete future type returned by the deconstruction process. This is used to only to communicate failure of deconstruction and does not return a value. Read more

impl<T, E, U> Sink<T> for SinkStream<T, E, U>[src]

type Error = E

The type of value produced by the sink when an error occurs.

impl<T, E, U> Stream for SinkStream<T, E, U>[src]

type Item = U

Values yielded by the stream.

Auto Trait Implementations

impl<T, E, U> Send for SinkStream<T, E, U>

impl<T, E, U> Sync for SinkStream<T, E, U>

impl<T, E, U> Unpin for SinkStream<T, E, U>

impl<T, E, U> !UnwindSafe for SinkStream<T, E, U>

impl<T, E, U> !RefUnwindSafe for SinkStream<T, E, U>

Blanket Implementations

impl<K> OnTo for K where
    K: Kind
[src]

impl<T, U> UniformStreamSink<T> for U where
    U: Sink<T> + Stream<Item = T>, 
[src]

impl<'de, U, K> ApplyDecode<'de, K> for U where
    K: Kind
[src]

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

impl<T> From<T> for 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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

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

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

impl<T, Item> SinkExt<Item> for T where
    T: Sink<Item> + ?Sized
[src]

impl<T> BufferedPredicatedExt for T where
    T: Stream

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any