Struct async_pipeline::connect::Connect
source · [−]pub struct Connect<P, F> { /* private fields */ }
Trait Implementations
sourceimpl<NXT, F, L> Linkable for Connect<L, F>where
F: Fn(L::OUT) -> NXT + Send + Sync,
NXT: Send + Sync,
L: Linkable + Send + Sync,
impl<NXT, F, L> Linkable for Connect<L, F>where
F: Fn(L::OUT) -> NXT + Send + Sync,
NXT: Send + Sync,
L: Linkable + Send + Sync,
type OUT = NXT
fn then_async<F, FUT, NXT>(self, f: F) -> AsyncConnect<Self, F>where
F: Fn(Self::OUT) -> FUT,
FUT: Future<Output = NXT> + Send + Sync,
Self: Sized,
fn then_async_result<F, FUT, NXT>(self, f: F) -> AsyncConnect<Self, ErrorFuc<F>>where
F: Fn(Self::OUT) -> FUT,
FUT: Future<Output = Result<NXT, Error>> + Send + Sync,
Self: Sized,
fn then<F, NXT>(self, f: F) -> Connect<Self, F>where
F: Fn(Self::OUT) -> NXT,
Self: Sized,
fn then_result<F, NXT>(self, f: F) -> Connect<Self, ErrorFuc<F>>where
F: Fn(Self::OUT) -> Result<NXT, Error>,
Self: Sized,
sourceimpl<NXT, F, P> Linkable for Connect<P, ErrorFuc<F>>where
F: Fn(P::OUT) -> Result<NXT, Error> + Send + Sync,
NXT: Send + Sync,
P: Linkable + Send + Sync,
impl<NXT, F, P> Linkable for Connect<P, ErrorFuc<F>>where
F: Fn(P::OUT) -> Result<NXT, Error> + Send + Sync,
NXT: Send + Sync,
P: Linkable + Send + Sync,
type OUT = NXT
fn then_async<F, FUT, NXT>(self, f: F) -> AsyncConnect<Self, F>where
F: Fn(Self::OUT) -> FUT,
FUT: Future<Output = NXT> + Send + Sync,
Self: Sized,
fn then_async_result<F, FUT, NXT>(self, f: F) -> AsyncConnect<Self, ErrorFuc<F>>where
F: Fn(Self::OUT) -> FUT,
FUT: Future<Output = Result<NXT, Error>> + Send + Sync,
Self: Sized,
fn then<F, NXT>(self, f: F) -> Connect<Self, F>where
F: Fn(Self::OUT) -> NXT,
Self: Sized,
fn then_result<F, NXT>(self, f: F) -> Connect<Self, ErrorFuc<F>>where
F: Fn(Self::OUT) -> Result<NXT, Error>,
Self: Sized,
sourceimpl<NXT, F, P> Pipeline for Connect<P, ErrorFuc<F>>where
P: Pipeline + Sync + Send,
F: Fn(P::OUT) -> Result<NXT, Error> + Sync + Send,
NXT: Send + Sync,
impl<NXT, F, P> Pipeline for Connect<P, ErrorFuc<F>>where
P: Pipeline + Sync + Send,
F: Fn(P::OUT) -> Result<NXT, Error> + Sync + Send,
NXT: Send + Sync,
sourceimpl<NXT, F, P> Pipeline for Connect<P, F>where
P: Pipeline + Sync + Send,
F: Fn(P::OUT) -> NXT + Sync + Send,
NXT: Send + Sync,
impl<NXT, F, P> Pipeline for Connect<P, F>where
P: Pipeline + Sync + Send,
F: Fn(P::OUT) -> NXT + Sync + Send,
NXT: Send + Sync,
sourceimpl<NXT, F, IN> Pipeline for Connect<Start<IN>, ErrorFuc<F>>where
IN: Sync + Send,
F: Fn(IN) -> Result<NXT, Error> + Sync + Send,
NXT: Send + Sync,
impl<NXT, F, IN> Pipeline for Connect<Start<IN>, ErrorFuc<F>>where
IN: Sync + Send,
F: Fn(IN) -> Result<NXT, Error> + Sync + Send,
NXT: Send + Sync,
Auto Trait Implementations
impl<P, F> RefUnwindSafe for Connect<P, F>where
F: RefUnwindSafe,
P: RefUnwindSafe,
impl<P, F> Send for Connect<P, F>where
F: Send,
P: Send,
impl<P, F> Sync for Connect<P, F>where
F: Sync,
P: Sync,
impl<P, F> Unpin for Connect<P, F>where
F: Unpin,
P: Unpin,
impl<P, F> UnwindSafe for Connect<P, F>where
F: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more