Trait Linkable
Source pub trait Linkable {
type OUT: Send + Sync;
// Provided methods
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 { ... }
}