Skip to main content

IntoAsyncMapOnce

Trait IntoAsyncMapOnce 

Source
pub trait IntoAsyncMapOnce<M> {
    type MapType;

    // Required method
    fn into_async_map_once(self) -> Self::MapType;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<F, Request, Task> IntoAsyncMapOnce<(Request, Task)> for F
where F: FnOnce(Request) -> Task + 'static + Send + Sync, Request: 'static + Send + Sync, Task: Future + 'static + Sendish, Task::Output: 'static + Send + Sync,