[−][src]Type Definition vessels::kind::Stream
type Stream<T> = Pin<Box<dyn IStream<Item = T> + Sync + Send>>;
Trait Implementations
impl<U: From<TransportError>, T> Flatten for Stream<Result<T, U>>
[src]
fn flatten<E: 'static + Sync + Send + Into<Error>, F: IFuture<Output = Result<Self, E>> + Sync + Send + 'static>(
fut: F
) -> Self
[src]
fut: F
) -> Self
impl<T> Kind for Stream<T> where
T: Kind,
[src]
T: Kind,
type ConstructItem = Option<ForkHandle>
The item transmitted over the network to the construction task from deconstruction. Read more
type ConstructError = WrappedError<T::ConstructError>
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 = WrappedError<T::DeconstructError>
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
fn deconstruct<C: Channel<Self::DeconstructItem, Self::ConstructItem>>(
self,
channel: C
) -> Self::DeconstructFuture
[src]
self,
channel: C
) -> Self::DeconstructFuture
fn construct<C: Channel<Self::ConstructItem, Self::DeconstructItem>>(
channel: C
) -> Self::ConstructFuture
[src]
channel: C
) -> Self::ConstructFuture