Skip to main content

MapOpFuture

Type Alias MapOpFuture 

Source
pub type MapOpFuture<'a> = Pin<Box<dyn Future<Output = Result<Box<dyn OpDispenser>, String>> + Send + 'a>>;
Expand description

Boxed, Send future returned by DriverAdapter::map_op — yields a boxed OpDispenser (or an error message). The lifetime ties the future to the borrowed &self / template references.

Aliased Type§

#[repr(transparent)]
pub struct MapOpFuture<'a> { /* private fields */ }