Skip to main content

StreamReaderExt

Trait StreamReaderExt 

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

Required Methods§

Source

fn try_map<U: Lower + Lift + Send + Sync + 'static>( self, store: impl AsContextMut, fun: impl Fn(T) -> U + Send + 'static, ) -> Result<StreamReader<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> StreamReaderExt<T> for StreamReader<T>

Source§

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

Implementors§