[][src]Struct conch_runtime::spawn::Pipeline

#[must_use = "futures do nothing unless polled"]
pub struct Pipeline<S, E> where
    S: Spawn<E>, 
{ /* fields omitted */ }

A future representing the spawning of a pipeline of commands.

Trait Implementations

impl<S, E> EnvFuture<E> for Pipeline<S, E> where
    S: Spawn<E>,
    S::Error: From<Error>,
    E: FileDescEnvironment + SubEnvironment,
    E::FileHandle: From<FileDesc> + Clone
[src]

type Item = ExitResult<SpawnedPipeline<S, E>>

The type of value that this future will resolved with if it is successful. Read more

type Error = S::Error

The type of error that this future will resolve with if it fails in a normal fashion. Read more

fn pin_env(self, env: E) -> Pinned<E, Self> where
    E: Sized,
    Self: Sized
[src]

Pin an environment to this future, allowing the resulting future to be polled from anywhere without needing the caller to specify an environment. Read more

fn fuse(self) -> Fuse<Self> where
    Self: Sized
[src]

Fuse a future such that poll and cancel will never again be called once it has completed. Read more

fn boxed_result<'a>(self) -> BoxedResult<'a, Self> where
    Self: Sized,
    Self::Item: 'a + Future
[src]

Converts the resulting future into a boxed trait object. Read more

impl<S, E> Debug for Pipeline<S, E> where
    S: Spawn<E> + Debug,
    S::EnvFuture: Debug,
    S::Future: Debug,
    S::Error: Debug,
    E: Debug
[src]

Auto Trait Implementations

impl<S, E> Send for Pipeline<S, E> where
    E: Send,
    S: Send,
    <S as Spawn<E>>::EnvFuture: EnvFuture<E> + Send,
    <S as Spawn<E>>::Error: From<<S as Spawn<E>>::Error> + Send,
    <<S as Spawn<E>>::Future as IntoFuture>::Error: From<<S as Spawn<E>>::Error> + Send,
    <S as Spawn<E>>::Future: Future + IntoFuture + Send,
    <<S as Spawn<E>>::Future as IntoFuture>::Future: Send

impl<S, E> Sync for Pipeline<S, E> where
    E: Sync,
    S: Sync,
    <S as Spawn<E>>::EnvFuture: EnvFuture<E> + Sync,
    <S as Spawn<E>>::Error: From<<S as Spawn<E>>::Error> + Sync,
    <<S as Spawn<E>>::Future as IntoFuture>::Error: From<<S as Spawn<E>>::Error> + Sync,
    <S as Spawn<E>>::Future: Future + IntoFuture + Sync,
    <<S as Spawn<E>>::Future as IntoFuture>::Future: Sync

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T