Trait Chainer

Source
pub trait Chainer<T> {
    type Chained: Clone + Send + Sync;
    type Error;

    // Required method
    fn chain(
        &self,
        value: T,
    ) -> impl Future<Output = Result<Self::Chained, Self::Error>> + Send;
}

Required Associated Types§

Required Methods§

Source

fn chain( &self, value: T, ) -> impl Future<Output = Result<Self::Chained, Self::Error>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§