Development Documentation (main branch) - For stable release docs, see docs.rs/eidetica

AsyncWriteCallbackFuture

Type Alias AsyncWriteCallbackFuture 

Source
pub type AsyncWriteCallbackFuture<'a> = Pin<Box<dyn Future<Output = Result<()>> + Send + 'a>>;
Expand description

Type alias for async write callback return type.

We use a boxed future for callbacks. The future is Send since internal operations use Arc/Mutex for thread-safety.

Aliased Typeยง

pub struct AsyncWriteCallbackFuture<'a> { /* private fields */ }