Skip to main content

FutureReaderExt

Trait FutureReaderExt 

Source
pub trait FutureReaderExt<T> {
    // Required method
    fn try_map<U: Lower + Lift + 'static>(
        self,
        store: impl AsContextMut,
        fun: impl FnOnce(T) -> U + Send + 'static,
    ) -> Result<FutureReader<U>>;
}

Required Methods§

Source

fn try_map<U: Lower + Lift + 'static>( self, store: impl AsContextMut, fun: impl FnOnce(T) -> U + Send + 'static, ) -> Result<FutureReader<U>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: Lift + Send + 'static> FutureReaderExt<T> for FutureReader<T>

Source§

fn try_map<U: Lower + Lift + 'static>( self, store: impl AsContextMut, fun: impl FnOnce(T) -> U + Send + 'static, ) -> Result<FutureReader<U>>

Implementors§