Type Alias ReadPageFutureFn

Source
pub type ReadPageFutureFn<E> = Box<dyn for<'a> Fn(&'a mut [u8]) -> Pin<Box<dyn Future<Output = Result<bool, E>> + 'a>>>;
Expand description

A function that takes a mutable reference to the page and fills it with bytes from NAND The future returns true if there are more pages that could be read

Aliased Typeยง

pub struct ReadPageFutureFn<E>(/* private fields */);