Skip to main content

CodecFuture

Type Alias CodecFuture 

Source
pub type CodecFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>;
Expand description

A boxed codec operation future. Native futures are Send; wasm follows the connection stream contract and does not require Send.

Aliased Typeยง

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